1. Create symbolic links to the procedures of license manager:
Code:
# Ln-s $ MATLAB / etc / lmboot / usr / local / etc / lmboot_TMW
# Ln-s $ MATLAB / etc / lmdown / usr / local / etc / lmdown_TMW
2. Create a startup file named / usr / local / etc / rc.d / flexlm.sh. The example below is a modified version of the $ MATLAB/etc/rc.lm.glnx86 provided. The changes concern the location of files, and launch the license manager under Linux emulation.
Code:
# / Bin / sh
case "$ 1" in
home),
if [-f / usr / Local / etc / lmboot_TMW] Then
/ Compat / linux / bin / sh / usr / local / etc / lmboot_TMW-u user & & echo 'MATLAB_lmgrd'
fi
;;
stop)
if [-f / usr / local / etc / lmdown_TMW] Then
/ Compat / linux / bin / sh / usr / local / etc / lmdown_TMW> / dev / null 2> & 1
fi
;;
*)
echo "Usage: $ 0 {start | stop}"
exit 1
;;
esac
exit 0
3. Start the license manager with the command:
Code:
# / Usr / local / etc / rc.d / home flexlm.sh
Bookmarks