Specifications

28
APPENDIX D. MATLAB 6.1
Simulink
Matlab Compiler
Real-time Workshop
FLEXm
Check “Create symbolic links to Matlab and mex scripts” and choose /usr/local/bin as path. The
display license number 0 is correct.
D.3 Configuration
After installation the FLEXm server should start automatically. This requires a startup script, which
has to be copied:
cp /usr/local/Matlab6p1/etc/rc.lm.glnx86 /etc/init.d/lm.glnx86
An option still needs to be changed in the startup script. Therefor open it in any text-editor, e.g.
/etc/init.d/lm.glnx86 and change the following line:
/etc/lmboot_TWM12 -u username && echo ’Matlab_lmgrd’ to
/etc/lmboot_TWM12 -u pc35 && echo ’Matlab_lmgrd’
Next activate the script with:
update-rc.d lm.glnx86 defaults
After rebooting the FLEXm server should be active and Matlab can be started with the command:
Matlab &
The &-operator after a command executes the program in the background. This leaves the console
window open for new commands.