Using Matlab and access to sample Matlab scripts
Jump to navigation
Jump to search
Matlab packages for Inelastic Scattering data analysis used in ISIS include Horace and Mslice.
Isiscompute servers provide users with access to recent version of Matlab using substantial number of floating licenses. Usually number of licences is sufficient for users doing experiments and data analysis. If Matlab does not start, number of available licences can be checked using simple bash script:
#!/bin/bash # check network licence for Matlab /usr/local/MATLAB/R2014a/etc/glnxa64/lmutil lmstat -c /usr/local/MATLAB/R2014a/licenses/network.lic -a
Horace and Mslice are configured to be accessible from Matlab in two ways:
- Using startup.m file, which is copied to each user home folder when user account is created. See the description of such file at Mslice and Horace configuration pages
- By adding special horace_on and similar mslice_on scripts to Matlab default search path. The scripts are doing roughly the same as changes to startup.m file but allow user to initialize Horace and Mslice from any folder user starts Matlab in, and not only from his or her home folder, and in some situations reinitialize these packages.