Diff for "MATLAB"


Differences between revisions 82 and 83
Revision 82 as of 2011-04-26 01:16:04
Size: 4399
Editor: c-69-247-134-249
Comment: updating to latest screenshots... need to delete bad ones from earlier today
Revision 83 as of 2011-04-26 01:22:30
Size: 4468
Editor: c-69-247-134-249
Comment: trivial changes to verbage
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 You will need superuser privileges. The assumption is that MATLAB install files are in '''/media/MATHWORKS_R2011a'''.  You will need superuser privileges. The assumption is that MATLAB install files are located at '''/media/MATHWORKS_R2011a''' in your filesystem.
Line 15: Line 15:
1. Run the MATLAB installer: 1. Run the MATLAB installer with the following Terminal command:
Line 28: Line 28:
4. When given the option to ''''Create symbolick links to MATLAB scripts in:'''' it is recommended that you check the box and use the path '''/usr/local/bin'''. 4. When given the option to ''''Create symbolick links to MATLAB scripts in:'''' it is recommended that you check the box and use the supplied path '''/usr/local/bin'''.
Line 50: Line 50:
         For a list of currently supported compilers see:           For a list of currently supported compilers see:
Line 85: Line 85:
 
Line 94: Line 94:
CategoryScience  CategoryScience

Parent page: Programming Applications

Introduction

MATLAB® is a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.

You can use MATLAB in a wide range of applications, including signal and image processing, communications, control design, test and measurement, financial modeling and analysis, and computational biology. Add-on toolboxes (collections of special-purpose MATLAB functions, available separately) extend the MATLAB environment to solve particular classes of problems in these application areas.

MATLAB provides a number of features for documenting and sharing your work. You can integrate your MATLAB code with other languages and applications, and distribute your MATLAB algorithms and applications.

MATLAB R2011a Installation Instructions

  • You will need superuser privileges. The assumption is that MATLAB install files are located at /media/MATHWORKS_R2011a in your filesystem.

1. Run the MATLAB installer with the following Terminal command:

sudo /media/MATHWORKS_R2011A/install

2. When prompted to 'Choose installation type' you should select custom. This will allow you to create symbolic links to MATLAB in /usr/local/bin.

Choose installation type

3. When prompted to 'Specify installation folder' it is recommended that you use the default folder /usr/local/MATLAB/R2011a.

Specify installation folder

4. When given the option to 'Create symbolick links to MATLAB scripts in:' it is recommended that you check the box and use the supplied path /usr/local/bin.

Create symbolick links to MATLAB scripts in:

Create A MATLAB Launcher

1. Get an icon:

sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png

2. Get the launcher file:

sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2011a.desktop' -O /usr/share/applications/matlab.desktop

MEX functions

If you try to compile MEX functions you may see a message like the following:

Warning: You are using gcc version "4.4.4-14ubuntu5)".  The version
         currently supported with MEX is "4.3.4".
         For a list of currently supported compilers see:
         http://www.mathworks.com/support/compilers/current_release/

Note this is a warning - the MEX function will still compile.

The following instructions will setup gcc 4.3 and make it the default compiler for MATLAB:

1. Install The GNU Compiler Collection 4.3 and The GNU Standard C++ Library

sudo apt-get install gcc-4.3-multilib libstdc++6-4.3-dev

2. Make a MATLAB specific 'bin' directory for gcc symlink.

mkdir ~/.matlab/bin

3. Symlink gcc to gcc-4.3 via user MATLAB specific 'bin' directory.

ln -s /usr/bin/gcc-4.3 ~/.matlab/bin/gcc

4. Add MATLAB specific 'bin' directory to the front of your system $PATH within your local startup.m file.

printf "setenv(\'PATH\',sprintf(\'/home/%%s/.matlab/bin:%%s\',getenv(\'USER\'),getenv(\'PATH\')));\n" >> ~/Documents/MATLAB/startup.m

For more ideas, try this thread or this one.

Previous Versions

External Links

For more information about MATLAB see the following links


CategoryScience

MATLAB (last edited 2015-10-30 17:51:30 by ip-37-201-246-20)