Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Anchor
running_matlab
running_matlab
Running MATLAB

Code Block
languagebash
# Launch in desktop mode:
$ run_matlab.bash -m 2020a -d

# Launch in terminal mode:
$ run_matlab.bash -m 2020a


To In order to set up your environment to use one of the supported versions of MATLAB for development and configuration setup purposes, you need to follow one of the appropriate setup procedures below.

Anchor
running_matlab_2020a
running_matlab_2020a
2020a

  • Development

    WarningDo not run MATLAB instances on mcclogin or lcls-prod02.

    (MATLAB should be run on

    mcc

    lcls-

    simul

    dev3 in DEV. Do not run MATLAB instances on login nodes such as centos7.)

    Code Block
    languagebash
    $ source /afs/slac/g/lcls/epics/setup/epicsenv-7.0.3.1-1.0.bash
    $ source /afs/slac/g/lcls/tools/oracle/oracleSetup-R11.2.0.4.bash
    $ export MATLAB_VER=2020a
    $ export MLM_LICENSE_FILE="27010@license701,27010@license702,27010@license703"
    $ source /afs/slac/g/lcls/tools/matlab/setup/matlabSetup64.bash
    
    # Launch in desktop mode: 
    $ matlab &
    $ /afs/slac/g/lcls/package/matlab/2020a/bin/matlab &		# If "matlab &" couldn't find the correct location, use the absolute path
    $ run_matlab.bash -m 2020a -d
    
    # Launch in terminal mode: 
    $ run_matlab.bash --matlab=m 2020a
  • Production

    Code Block
    languagebash
    $ source /usr/local/lcls/epics/epicsenv-7.0.3.1-1.0.bash
    $ source /usr/local/lcls/tools/oracle/oracleSetup-R11.2.0.4.bash
    $ export MATLAB_VER=2020a 
    $ source /usr/local/lcls/tools/matlab/setup/matlabSetup64.bash
    
    # Launch in desktop mode: 
    $ matlab &
    $ /usr/local/lcls/package/matlab/2020a/bin/matlab &		# If "matlab &" couldn't find the correct location, use the absolute path
    $ run_matlab.bash -m 2020a -d
    
    # Launch in terminal mode: 
    $ run_matlab.bash --matlab=m 2020a

Anchor
configuring_matlab
configuring_matlab
Configuring MATLAB

...