The most recent Matlab release installed in the IAM is R2011a (version 7.12). Matlab R2008a (version 7.6) is also available.
- Startup Commands
Note that the text version of Matlab has to run on the foreground, and so there is no & sign after the matlab-nojvm command.
|
With graphical desktop interface (java support)
|
| Matlab R2011a: |
matlab & or matlab2011a & |
| Matlab R2008a: |
matlab2008a & |
|
|
With text interface (no java support)
|
| Matlab R2011a: |
matlab-nojvm or matlab2011a-nojvm |
| Matlab R2008a: |
matlab2008a-nojvm |
|
If you want to log off your desktop after starting a Matlab job, use the nohup command. Please note that nohup will not work with aliases (such as those listed above) and that the started job has to run in the foreground. Below is an example of using nohup with Matlab:
|
Without java support, using source file file.m
|
nohup matlab -nojvm file.m
|
- Startup Troubleshooting Hints
| Problem |
Solution |
| Cannot load desktop |
Try deleting the file classpath.txt in your home directory |
| Cannot start Matlab or a particular toolbox because the maximum number of users has been reached |
Wait for some time until the number of users drops below the limit determined by the license |
| Cannot start Matlab with nohup |
Use a nohup startup example from Section 2a above. Make sure there is no & sign at the end of the command line. |
| Certain functions/routines are not found when compiling Matlab code |
Make sure the locations of the functions/routines are known to Matlab; e.g.
try using the addpath() command in your code |