Enabling License Time-Outs

To take advantage of time-outs, you must specify the FLEXnet TIMEOUT option in a FLEXnet options file. A FLEXnet options file is a text file that contains license manager options statements, such as INCLUDE, EXCLUDE, and GROUP statements.

To enable time-outs, follow these instructions:

  1. Create a FLEXnet options file, if one does not already exist, using any text editor. Name the options file MLM.opt and put the file in the flexlm folder in your MATLAB installation folder. For example, you might create the file

    C:\Program Files\MATLAB\R2006b\flexlm\MLM.opt
    
  2. Add the FLEXnet TIMEOUT option to the options file, using the following syntax:

    TIMEOUT feature seconds
    

    For feature, specify MATLAB. You cannot specify separate time-out values for individual MathWorks products, such as toolboxes.

    For seconds, specify the amount of idle time you want to allow. The minimum value is 4 hours (14,400 seconds). If you specify a time-out value that is smaller, the minimum value is used. For example, to specify a five hour time-out, enter the following in your options file.

    TIMEOUT MATLAB 18000
    
  3. Make sure the DAEMON line in your License File specifies the location of your options file. The License File DAEMON line must include the options= syntax. For example, your DAEMON line might look like the following:

    DAEMON MLM "C:\Program Files\MATLAB\R2006b\flexlm\mlm.exe" \
                options="C:\Program Files\MATLAB\R2006b\flexlm\mlm.opt"
    
  4. Stop the license manager and restart it. Whenever you change the License File, or change the time-out value in the options file, you must restart the license manager. See Managing the License Manager Service for information about starting and stopping the license manager.


© 1984-2006 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments