Start of trail End of trail navigation bar

Table of Contents

Model Arguments Dialog

This dialog is used to enter the arguments to pass to a model when it is loaded, either immediately or at boot time. This page discusses the functionality of this dialog. For a discussion of model arguments refer to the help on MEX-file arguments.

The Model Arguments dialog is opened from the QUARC Target dialog as part of loading a model or configuring a model to load at boot. The dialog is illustrated below:

The arguments to pass to the model should be entered in the edit field. To make this process simpler, a drop-down menu of standard arguments and format specifiers is provided next to the edit field. Simply click on the down arrow and select an item from the list. The selected item will be appended to the arguments entered so far.

Format specifiers are replaced with the quantity they represent. For example, "%d" may be entered as part of the model arguments but will be replaced with the full path to the current MATLAB directory when passed to the actual model. Refer to MEX-file arguments for a discussion of the format specifiers available. Any format specifiers which require information from the model (other than its name), such as the model URI, require that the model actually be open in MATLAB.

The Model Arguments dialog remembers the last arguments entered to make it easier when loading or configuring multiple models. The dialog may also be resized so that the full model arguments are visible, if necessary. The dialog will remember its previous size the next time it is opened.

Once the model arguments have been entered, click OK to accept the arguments and proceed with loading the model or configuring the model to load at boot. To abort the operation, click the Cancel button, or press Esc.

See Also

 

navigation bar