| Simulink Reference | ![]() |
This table lists and describes parameters that describe a model. The parameters appear in the order they are defined in the model file, described in Model File Format. The table also includes model callback parameters (see Using Callback Routines). The Description column indicates where you can set the value on the Simulation Parameters dialog box. Model parameters that are simulation parameters are described in more detail in The Simulation Parameters Dialog Box. Examples showing how to change parameters follow the table (see Examples of Setting Model Parameters).
Parameter values must be specified as quoted strings. The string contents depend on the parameter and can be numeric (scalar, vector, or matrix), a variable name, a filename, or a particular value. The Values column shows the type of value required, the possible values (separated with a vertical line), and the default value, enclosed in braces.
| Parameter |
Description |
Values |
AbsTol |
Absolute error tolerance. Setting for the Absolute tolerance on the Solver pane of the Configuration Parameters dialog box. |
string {'auto'} |
AccelMakeCommand |
Program that builds the Simulink Accelerator target for this model. |
string {'make_rtw'} |
AccelSystemTargetFile |
TLC file used to build the Simulink Accelerator target for this model. |
string {'accel.tlc'} |
AccelTemplateMakefile |
Template for the makefile used to build the Simulink Accelerator target for this model. |
string {'accel_default_tmf'} |
AlgebraicLoopMsg |
Specifies diagnostic action to take when there is an algebraic loop. Set by the Algebraic loop option on the Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
AnalyticLinearization |
|
|
ArrayBoundsChecking |
Setting for the Array bounds exceeded diagnostic on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
ArtificialAlgebraic |
Setting for the Minimize algebraic loop diagnostic on the Solver Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
AssertionControl |
Setting for the Model Verification block enabling control on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
{'UseLocalSettings'} | 'EnableAll' | 'DisableAll' |
BlockDescription |
Specifies whether to display the user description string for a block as a data tip. Set by the User Description String command on the model editor's View->Block Data Tips Options menu. |
'on' | {'off'} |
BlockDiagramType |
'model' | 'library' |
|
BlockNameDataTip |
Specifies whether to display the user description string for a block as a data tip. Set by the Block Name command on the model editor's View->Block Data Tips Options menu. |
'on' | {'off'} |
BlockParametersData |
Specifies whether to display the user description string for a block as a data tip. Set by the Parameter Names and Values command on the model editor's View->Block Data Tips Options menu. |
'on' | {'off'} |
BlockPriority |
Setting for the Block priority violation diagnostic on the Solver Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
BlockReductionOpt |
Enables block reduction optimization. Set by the Block reduction optimization option on the Optimization pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
Blocks |
cell array {{}} |
|
BooleanDataType |
Enable Boolean mode. Set by the Implement logic signals as boolean data (vs. double) option on the Optimization pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
Browser |
|
|
BrowserHandle |
|
|
BrowserLookUnder |
Show masked subsystems in the Model Browser. Set by the Show Masked Subsystems command on the model editor's View->Model Browser Options menu. |
'on' | {'off'} |
BrowserShowLibraryLinks |
Show library links in the Model Browser. Set by the Show Library Links command on the model editor's View->Model Browser Options menu. |
'on' | {'off'} |
BusObjectLabelMismatch |
Set by the Element name mismatch option on the Connectivity panel of the Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning'| 'error' |
BufferReuse |
Enable reuse of block I/O buffers. Set by the Reuse block outputs option on the Optimization pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
CharacterEncoding |
Specifies the character set used to encode this model. See the |
string |
CheckExecutionContext |
Set by the Check runtime output of execution context option on the Compatibility Diagnostics pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
CheckExecutionOrder |
Set by the Check preactivation output of execution context option on the Compatibility Diagnostics pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
CheckMatrix |
Set by the Attempted division by singular matrix option on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
CheckModelReference |
Message behavior when the Rebuild options is set to never in the Model Referencing Diagnostics pane of the Configuration Parameters dialog box. |
'none' | 'warning' | {'error'} |
CheckSSInitial |
Enable checking for undefined intial subsystem output. Set by the Check undefined subsystem initial output option on the Compatibility Diagnostics pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
CloseFcn |
command or variable |
|
ConditionallyExecute |
Enables conditional input branch execution optimization. Set by the Conditional input branch execution control on the Optimization pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
ConfigurationManager |
string {'None'} |
|
ConsistencyChecking |
Consistency checking. Set by the Solver data inconsistency option on the Solver Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
CovCompData |
If CovHTMLOptions is set to on, and CovCumulativeReport is set to off, this parameter specifies cvdata objects containing additional model coverage data to include in the model coverage report. Specified by the Additional data to include in report (cvdata objects) field in the Report pane of the Coverage Settings dialog box. |
string |
CovCumulativeReport |
If CovHTMLReporting is set to on, this parameter allows the CovCumulativeReport and CovCompData parameters to specify the number of coverage results displayed in the model coverage report.
If set to on, display the coverage results for the last simulation in the report. |
'on' | {'off'} |
CovCumulativeVarName |
If covSaveCumulativeToWorkSpace |
string {'covCumulativeData'} |
CovHTMLOptions |
If CovHTMLReporting is set to on, use this parameter to select from a set of display options for the resulting model coverage report. In the Reporting pane of the Coverage Settings dialog box, select Settings to receive a dialog box for selecting these options. |
String of appended character sets separated by a space. HTML options are enabled or disabled through a value of 1 or 0, respectively, in the following character sets (default values shown): |
CovHTMLReporting |
Set to on to tell Simulink to create an HTML report containing the coverage data in the MATLAB Help browser at the end of the simulation. Set by the Generate HTML report check box on the Report pane of the Coverage Settings dialog box. |
{'on'} | 'off' |
CovMetricSettings |
Selects coverage metrics for coverage report. Coverage metrics are enabled by selecting the check boxes for individual coverages in the Coverage Metrics section of the Coverage pane of the Coverage Settings dialog box. Options 's' and 'w' are enabled by selecting the check boxes Treat Simulink logic blocks as short-circuited and Warn when unsupported blocks exist in model, respectively, in the Options pane of the Coverage Settings dialog box. Option 'e' is disabled by selecting the check box Display coverage results using model coloring in the Results pane of the Coverage Settings dialog box. |
string {'dw'}Each order-independent character in the string enables a coverage metric or option as follows: |
CovNameIncrementing |
If CovSaveSingleToWorkspaceVar is set to on, setting this parameter to on tells Model Coverage to increment the workspace variable specified in CovSaveName to store the results succeeding simulations. Entered in the Increment variable name with each simulation check box below the selected Save last run in workspace variable check box on the Results pane of the Coverage Settings dialog box. |
'on' | {'off'} |
CovPath |
Model path of the subsystem for which Simulink gathers and reports coverage data. Set by browsing for the path in Coverage Instrumentation Path on the Coverage pane of the Coverage Settings dialog box. |
string {'/'} |
CovReportOnPause |
Specifies that when you pause during simulation the model coverage report appears in updated form with coverage results up to the current pause or stop time. Set by selecting the Update results on pause check box on the Results pane of the Coverage Settings dialog box. |
{'on'} | 'off' |
covSaveCumulativeTo |
If set to on, causes Model Coverage to accumulate and save the results of successive simulations in the workspace variable in CovCumulativeVarName. Set by selecting the Save cumulative results in workspace variable check box on the Results pane of the Coverage Settings dialog box. |
{'on'} | 'off' |
CovSaveName |
If CovSaveSingleToWorkspaceVar is set to on, Model Coverage saves the results of the last simulation run in the workspace variable specified by this property. Entered in the field below the selected Save last run in workspace variable check box on the Results pane of the Coverage Settings dialog box. |
string {'covdata'} |
CovSaveSingleToWork spaceVar |
If enabled, tells Model Coverage to save the results of the last simulation run in the workspace variable specified by the CovSaveName property. Set by selecting the Save last run in workspace variable check box on the Results pane of the Coverage Settings dialog box. |
{'on'} | 'off' |
Created |
string |
|
Creator |
string {''} |
|
CurrentBlock |
|
|
CurrentOutputPort |
|
|
DataTypeOverride |
Specifies data type used to override fixed-point datatypes. Set by the Data type override control on the Fixed-Point Settings dialog box. |
{'UseLocalSettings'} | 'ScaledDoubles' | 'TrueDoubles' | 'TrueSingles' | 'ForceOff' |
Decimation |
Decimation factor. Set by the Decimation field on the Data Import/Export pane of the Configuration Parameters dialog box. |
string {'1'} |
DefaultBlockFontSize |
{'10'} |
|
DeleteChildFcn |
string {''} |
|
Description |
string |
|
Dirty |
'on' | {'off'} |
|
DiscreteInherit |
Specifies diagnostic action to take when a Unit Delay block inherits a continuous sample time. Set by the Discrete used as continuous control on the Sample Time Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
DisplayBdSearch |
|
|
DisplayBlockIO |
|
|
DisplayCallGraph |
|
|
DisplayCompileStatus |
|
|
DisplayCondInputTree |
|
|
DisplayCondStIDTree |
|
|
DisplayError |
|
|
DisplayInvisible |
|
|
DisplaySortedLists |
|
|
DisplayVectorAnd |
|
|
DisplayVect |
|
|
ExecutionContextIcon |
Toggles display of execution context icons on this model's block diagram. |
'on' | {'off'} |
ExternalInput |
Names of MATLAB workspace variables used to designate data and times to be loaded from the workspace. Set by the Input option on the Data Import/Export pane of the Configuration Parameters dialog box. |
scalar or vector {'[t, u]'} |
ExpressionFolding |
Enables expression folding. Set by the Eliminate superfluous temporary variables option on the Optimization pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
ExtMode... |
Parameters whose names start with ExtMode apply to Simulink External Mode. See "External Mode" in the Real-Time Workshop documentation for more inforamtion. |
|
ExtrapolationOrder |
Extrapolation order of the ode14x implicit fixed-step solver. Set by the Extrapolation order control on the Solver pane of the Configuration Parameters dialog box. |
1 | 2 | 3 | {4} |
FileName |
|
|
FinalStateName |
Names of final states to be saved to the workspace. Set by the Final states option on the Data Import/Export pane of the Configuration Parameters dialog box. |
string {'xFinal'} |
FixedStep |
Fixed step size. Set by the Fixed step size (fundamental sample time) field on the Solver pane of the Configuration Parameters dialog box. |
string {'auto'} |
FixPtInfo |
|
|
ForceArrayBounds |
|
|
ForceConsistency |
|
|
ForceModelCoverage |
|
|
ForwardingTable |
Specifies the forwarding table for this library. See Updating Links to Reflect Block Path Changes in the Using Simulink documentation for more information. |
{{'old_path_1', 'new_path_1'} ... {'old_path_n', 'new_path_n'}} |
ForwardingTable |
|
|
GridSpacing |
double |
|
Handle |
double |
|
HiliteAncestors |
|
|
IgnoreBidirectional |
|
|
InheritedTsInSrcMsg |
Message behavior when the sample time is inherited. Set by the Source block specifies -1 sample time control on the Sample Time Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
InitFcn |
Function that is called when this model is first compiled for simulation. |
string {''} |
InitialState |
Initial state name or values. Set by the Initial state field on the Data Import/Export pane of the Configuration Parameters dialog box. |
variable or vector {'xInitial'} |
InitialStep |
Initial step size. Set by the Initial step size field on the Solver pane of the Configuration Parameters dialog box. |
string {'auto'} |
InlineParams |
Enable inline of parameters in generated code. Set by the Inline parameters check box on the Optimization pane of the Configuration Parameters dialog box. |
'on' | {'off'} |
Int32ToFloatConvMsg |
Message behavior when a 32-bit integer is converted to a single-precision float. Set by the 32-bit integer to single precision float conversion control on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} |
IntegerOverflowMsg |
Message behavior when there is an integer overflow. Set by the Data overflow control on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
InvalidFcnCallConnMsg |
Message behavior when there is an invalid function call connection. Set by the Invalid function call connection control on the Connectivity Diagnostics pane of the Configuration Parameters dialog box. |
'none' | 'warning' | {'error'} |
InvariantConstants |
'on' | {'off'} |
|
Jacobian |
|
|
LastModifiedBy |
string |
|
LastModifiedDate |
string |
|
LibraryLinkDisplay |
Shows which blocks in the model are linked or have disabled or modified links. Set by the Library Link Display option under the Format menu. |
{'none'} | 'user' | 'all' |
LibraryType |
{'none'} | 'BlockLibrary' | 'IOLibrary' |
|
LimitDataPoints |
Limit output. Set by the Limit data points to last check box on the Data Import/Export pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
LinearizationMsg |
|
|
Lines |
|
|
LoadExternalInput |
Load input from workspace. Set by the Input check box on the Data Import/Export pane of the Configuration Parameters dialog box. |
'on' | {'off'} |
LoadInitialState |
Load initial state from workspace. Set by the Initial state check box on the Data Import/Export pane of the Configuration Parameters dialog box. |
'on' | {'off'} |
Location |
|
|
Lock |
|
|
MaxDataPoints |
Maximum number of output data points to save. Set by the Limit data points to last field on the Data Import/Export pane of the Configuration Parameters dialog box. |
string {'1000'} |
MaxNumMinSteps |
Maximum number of times the solver uses the minimum step size. |
string {'-1'} |
MaxOrder |
Maximum order for ode15s. Set by the Maximum order option on the Solver pane of the Configuration Parameters dialog box. |
1 | 2 | 3 | 4 | {5} |
MaxStep |
Maximum step size. Set by the Max step size field on the Solver pane of the Configuration Parameters dialog box. |
string {'auto'} |
MdlSubVersion |
|
|
MinMaxOverflowArchive |
|
|
MinMaxOverflow |
Logging type for fixed-point logging. Set by the Logging type option in the Fixed-Point Settings dialog box. |
{'Overwrite'} | 'Merge' |
MinMaxOverflow |
Setting for fixed-point logging. Set by the Logging mode option in the Fixed-Point Settings dialog box. |
{'UseLocalSettings'} | 'MinMaxAndOverflow' | 'OverflowOnly' | 'ForceOff' |
MinStep |
Minimum step size for the solver. Set by the Min step size field on the Solver pane of the Configuration Parameters dialog box. |
string {'auto'} |
MinStepSizeMsg |
Message shown when minimum step size is violated. Set by the Min step size violation option on the Diagnostics pane of the Configuration Parameters dialog box. |
{'warning'} | 'error' |
ModelBrowser |
Show the Model Browser. Set by the Model Browser command of the model's View->Model Browser Options menu. |
'on' | {'off'} |
ModelDataFile |
string {''} |
|
ModelDependencies |
List of model dependencies. Set by the Model dependencies field on the Model Referencing pane of the Configuration Parameters dialog box. |
string {''} |
ModelReferenceCS |
Message shown when there is a model configuration mismatch. Set by the Model configuration mismatch option on the Model Referencing Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
ModelReferenceData |
Message shown when there is unsupported data logging. Set by the Unsupported data logging option on the Model Referencing Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
ModelReferenceIO |
Message shown when there is a port and parameter mismatch. Set by the Port and parameter mismatch option on the Model Referencing Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
ModelReferenceIOMsg |
Message shown when there is an invalid root Inport/Outport block connection. Set by the Invalid root Inport/Outport block connection option on the Model Referencing Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
ModelReferenceNum |
Total number of instances allowed per top model. Set by the Total number of instances allowed per top model option on the Model Referencing pane of the Configuration Parameters dialog box. |
'Zero' | 'Single' | {'Multi'} |
ModelReferenceSim |
Print detailed information when generating simulation targets for models referenced by a top-level model. |
'on' | {'off'} |
ModelReferenceTarget |
|
|
ModelReferenceVersion |
Message shown when there is a model block version mismatch. Set by the Model block version mismatch option on the Model Referencing Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
ModelrefMinAlgLoop |
Toggles the minimization of algebraic loop occurrences. Set by the Pass scalar root inputs by value check box on the Model Referencing pane of the Configuration Parameters dialog box. |
'on' | {'off'} |
ModelrefPassRoot |
Toggles the passing of scalar root inputs by value. Set by the Minimize algebraic loop occurrences check box on the Model Referencing pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
ModelVersion |
string {'1.1'} |
|
ModelVersionFormat |
string {'1.%<AutoIncrement: 0>'} |
|
ModelWorkspace |
an instance of the Simulink.ModelWorkspace class |
|
ModifiedBy |
string |
|
ModifiedByFormat |
string {'%<Auto>'} |
|
ModifiedComment |
string {''} |
|
ModifiedDate |
string |
|
ModifiedDateFormat |
string {'%<Auto>'} |
|
ModifiedHistory |
Area for keeping notes about the history of the model. This is set by the Model history field on the History pane of the Model Explorer dialog box. |
string {''} |
MultiTaskRateTransMsg |
Specifies diagnostic action to take when an invalid rate transition takes place between two blocks operating in single-tasking mode. Set by the Multitask rate transition control on the Sample Time Diagnostics pane of the Configuration Parameters dialog box. |
'warning' | {'error'} |
Name |
string |
|
NumberNewton |
Number of Newton's Method iterations performed by the ode14x implicit fixed-step solver. Set by the Number Newton's iterations control on the Solver pane of the pane of the Configuration Parameters dialog box. |
integer {'1'} |
ObjectParameters |
structure |
|
Open |
|
|
OptimizeBlockIO |
Enables signal storage reuse optimization. Set by the Signal storage reuse control on the Optimization pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
OutputOption |
Time step output options for variable-step solvers. Set by the Output options option on the Data Import/Export pane of the Configuration Parameters dialog box. |
'AdditionalOutputTimes' | |
OutputSaveName |
Workspace variable to store the model outputs. Set by the Output field on the Data Import/Export pane of the Configuration Parameters dialog box. |
variable {'yout'} |
OutputTimes |
Output times set when Output options on the Data Import/Export pane of the Configuration Parameters dialog box is set to Produce additional output. Set by the Output times option on the Data Import/Export pane of the Configuration Parameters dialog box. |
string {'[]'} |
PaperOrientation |
'portrait' | {'landscape'} | 'rotated' |
|
PaperPosition |
[left, bottom, width, height] |
|
PaperPositionMode |
{'auto'} | 'manual' |
|
PaperSize |
[width height] (read only) |
|
PaperType |
'usletter' | 'uslegal' | 'a0' | 'a1' | 'a2' | 'a3' | 'a4' | 'a5' | 'b0' | 'b1' | 'b2' | 'b3' | 'b4' | 'b5' | 'arch-A' | 'arch-B' | 'arch-C' | 'arch-D' | 'arch-E' | 'A' | 'B' | 'C' | 'D' | 'E' | 'tabloid' |
|
PaperUnits |
'normalized' | {'inches'} | 'centimeters' | 'points' |
|
ParameterArgument |
List of parameters used as arguments when this model is called as a reference. Set in the Model arguments (for referencing this model) field in the Model Workspace pane of the Model Explorer |
string {''} |
ParameterDowncastMsg |
Specifies diagnostic action to take when a parameter downcast occurs during simulation. Set by the Parameter downcast control on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
'none' | 'warning' | {'error'} |
ParameterOverflowMsg |
Specifies diagnostic action to take when a parameter overflow occurs during simulation. Set by the Parameter overflow control on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
'none' | 'warning' | {'error'} |
ParameterPooling |
Toggles pooling of paramters in Real-Time Workshop generated code. |
{'on'} | 'off' |
ParameterPrecision |
Specifies diagnostic action to take when parameter precision loss occurs during simulation. Set by the Parameter precision loss control on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
ParamWorkspaceSource |
|
|
Parent |
Name of the model or subsystem that owns this object. The value of this parameter for a model is an empty string. |
string {''} |
PostLoadFcn |
string {''} |
|
PostSaveFcn |
string {''} |
|
PreLoadFcn |
command or variable {''} |
|
PreSaveFcn |
string {''} |
|
ProdHWDeviceType |
Predefined hardware device to specify the C language constraints for your microprocessor. Set by the Device type option on the Hardware Implementation pane of the Configuration Parameters dialog box. |
string {'32-bit Generic'} |
ProdHWWordLengths |
Number of bits used for char, short, int, and long, respectively (set by the hardware device type). |
string {'8,16,32,32'} |
Profile |
'on' | {'off'} |
|
RecordCoverage |
A value of on causes Simulink to gather and report model coverage data during simulation. The format of this report is controlled by the values of the following parameters: CovCompDataCovCumulativeReportCovCumulativeVarNameCovHTMLOptionsCovHTMLReportingCovMetricSettingsCovNameIncrementingCovPathCovReportOnPausecovSaveCumulativeToWorkSpaceVarCovSaveNameCovSaveSingleToWorkspaceVarIf the value is off, no model coverage data is collected or reported and the preceding coverage report parameters have no effect. |
'on' | {'off'} |
Refine |
Refine factor. Set by the Refine factor field on the Data Import/Export pane of the Configuration Parameters dialog box. |
string |
RelTol |
Relative error tolerance. Set by the Relative tolerance field on the Solver pane of the Configuration Parameters dialog box. |
string |
ReportName |
string |
|
RequirementInfo |
|
|
RTW... |
See the Real-Time Workshop documentation for more information on parameters whose names begin with RTW. |
|
SampleTimeColors |
'on' | {'off'} |
|
SampleTimeConstraint |
Set by the Periodic Sample Time Constraint option on the Configuration Parameters dialog box. |
{'unconstrained'} | 'STIndependent' | 'Specified' |
SaveDefaultBlock |
|
|
SaveFcn |
command or variable |
|
SaveFinalState |
Save final states to workspace. Set by the Final states check box on the Data Import/Export pane of the Configuration Parameters dialog box. |
'on' | {'off'} |
SaveFormat |
Format used to save data to the MATLAB workspace. Set by the Format option on the Data Import/Export pane of the Configuration Parameters dialog box. |
{'Array'} | 'Structure' | 'StructureWithTime' |
SaveOutput |
Save simulation output to workspace. Set by the Output check box on the Data Import/Export pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
SaveState |
Save states to workspace. Set by the States check box on the Data Import/Export pane of the Configuration Parameters dialog box. |
'on' | {'off'} |
SaveTime |
Save simulation time to workspace. Set by the Time check box on the Data Import/Export pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
ScreenColor |
Background color of the model window. Set by the Screen color option under the Format menu. |
'black' | {'white'} | 'red' | 'green' | 'blue' | 'cyan' | 'magenta' | 'yellow' | 'gray' | 'lightBlue' | 'orange' | 'darkGreen' |
ScrollbarOffset |
|
|
SfunCompatibility |
Specifies diagnostic action to take when S-function upgrades are needed. Set by the S-function upgrades needed option on the Compatibility Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
ShowGrid |
'on' | {'off'} |
|
ShowLinearization |
{'on'} | 'off' |
|
ShowLineDimensions |
Show signal dimensions on this model's block diagram. Set by the Show Signal Dimensions command on the Format->Port/Signal Displays menu. |
'on' | {'off'} |
ShowLineDimensions |
|
|
ShowLineWidths |
'on' | {'off'} |
|
ShowLoopsOnError |
{'on'} | 'off' |
|
ShowModelReference |
'on' | {'off'} |
|
Shown |
|
|
ShowPortDataTypes |
Show data types of ports on this model's block diagram. Set by the Port Datatypes command on the Format->Port/Signal Displays menu. |
'on' | {'off'} |
ShowPortDataTypesOn |
|
|
ShowStorageClass |
Show storage classes of signals on this model's block diagram. Set by the Storage Class command on the Format->Port/Signal Displays menu. |
'on' | {'off'} |
ShowTestPointIcons |
Show test point icons on this model's block diagram. Set by the Testpoint Icons command on the Format->Port/Signal Displays menu. |
'on' | {'off'} |
ShowViewerIcons |
Show viewer icons on this model's block diagram. Set by the Viewer Icons command on the Format->Port/Signal Displays menu. |
'on' | {'off'} |
SignalLabelMismatch |
Specifies diagnostic action to take when there is a signal label mismatch. Set by the Signal label mismatch option on the Connectivity Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
SignalLogging |
Globally enable signal logging for this model. Set by the Signal logging check box on the Data Import/Export pane of the Configuration Parameters dialog box. |
{'on'} | 'off' |
SignalLoggingName |
Name for saving signal logging data to the MATLAB workspace. Set by the Signal logging field on the Data Import/Export pane of the Configuration Parameters dialog box. |
string {'logsOut'} |
SignalResolution |
Control which named states and signals get resolved to Simulink signal objects. Set by the Signal resolution control check box on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
'UseLocalSettings' | 'TryResolveAll' | {'TryResolveAllWithWarning'} |
SimParamPage |
|
|
SimulationCommand |
'start' | 'stop' | 'pause' | 'continue' | 'step' | 'update' | 'SimParamDialog' | 'connect' | 'disconnect' | 'WriteExtModeParamVect' | 'AccelBuild' |
|
SimulationMode |
Indicates whether Simulink should run in normal, accelerated, or external mode. |
{'normal'} | 'accelerator' | 'external' |
SimulationStatus |
{'stopped'} | 'updating' | 'initializing' | 'running' | 'paused' | 'terminating' | 'external' | |
|
SimulationTime |
double {0} |
|
SingleTaskRateTrans |
Specifies diagnostic action to take when a rate transition takes place between two blocks operating in single-tasking mode. Set by the Single task rate transition control on the Sample Time Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
Solver |
Solver used for the simulation. Set by the Solver check box on the Solver pane of the Configuration Parameters dialog box. |
'VariableStepDiscrete' | {'ode45'} | 'ode23' | 'ode113' | 'ode15s' | 'ode23s' | 'ode23t' | 'ode23tb' | 'FixedStepDiscrete' | 'ode5' | 'ode4' | 'ode3' | 'ode2' | 'ode1' | 'ode14x' |
SolverMode |
Solver mode for this model. Set by the Tasking mode for periodic sample times option on the Solver pane of the Configuration Parameters dialog box. |
{'Auto'} | 'SingleTasking' | 'MultiTasking' |
SolverResetMethod |
Set by the Solver reset method option on the Solver pane of the Configuration Parameters dialog box. |
{'Fast'} | 'Robust' |
SortedOrder |
Show the sorted order of this model's blocks on the block diagram. Set by the SortedOrder command on the model editor's Format->Block Displays menu. |
'on' | {'off'} |
StartFcn |
command or variable {''} |
|
StartTime |
Simulation start time. Set by the Start time field on the Solver pane of the Configuration Parameters dialog box. |
string {'0.0'} |
StateSaveName |
State output name to be saved to workspace. Set by the States field on the Data Import/Export pane of the Configuration Parameters dialog box. |
variable {'xout'} |
StatusBar |
Show/hide the status bar on the model editor window. Set by the Status Bar command on the model editor's View menu. |
{'on'} | 'off' |
StopFcn |
command or variable {''} |
|
StopTime |
Simulation stop time. Set by the Stop time field on the Solver pane of the Configuration Parameters dialog box. |
string {'10.0'} |
TargetFcnLib |
|
|
TimeSaveName |
Simulation time name. Set by the Time field on the Data Import/Export pane of the Configuration Parameters dialog box. |
variable {'tout'} |
TLC... |
Parameters whose names begin with TLC are used for code generation. See the Real-Time Workshop documentation for more information. |
|
Toolbar |
Show/hide the toolbar on the model editor window. Set by the Toolbar command on the model editor's View menu. |
{'on'} | 'off' |
TryForcingSFcnDF |
This flag is used for backward compatibility with user S-functions that were written prior to R12. |
'on' | {'off'} |
TunableVars |
List of global (tunable) parameters. Set in the Model Parameter Configuration dialog box. |
string {''} |
TunableVarsStorage |
List of storage classes for their respective tunable parameters. Set in the Model Parameter Configuration dialog box. |
string {''} |
TunableVarsType |
List of storage type qualifiers for their respective tunable parameters. Set in the Model Parameter Configuration dialog box. |
string {''} |
UnconnectedInputMsg |
Unconnected input ports diagnostic. Set by the Unconnected block input ports option on the Connectivity Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
UnconnectedLineMsg |
Unconnected lines diagnostic. Set by the Unconnected line option on the Connectivity Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
UnconnectedOutputMsg |
Unconnected block output ports diagnostic. Set by the Unconnected block output ports option on the Connectivity Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
UnderSpecifiedData |
Detect usage of heuristics to assign signal data types. Set by the Underspecified data types option on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
UnknownTsInhSupMsg |
Detect blocks that have not set whether they allow the model containing them to inherit a sample time. Set by the Unspecified inheritability of sample time option on the Solver Diagnostics pane of the Configuration Parameters dialog box. |
'none' | {'warning'} | 'error' |
UnnecessaryDataType |
Detect unnecessary data type conversion blocks. Set by the Unnecessary type conversions option on the Conversion Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' |
UpdateHistory |
Specifies when to prompt the user about updating the model history. This is set by the Prompt to update model history option on the History pane of the Model Explorer dialog box. |
{'UpdateHistoryNever'} | 'UpdateHistoryWhenSave' |
UpdateModelReference |
Rebuilding options. Set on the Model Referencing pane of the Configuration Parameters dialog box. |
'IfOutOfDate' | 'Force' | 'AssumeUpToDate' | {'IfOutOfDateOrStructuralChange'} |
UseAnalysisPorts |
|
|
VectorMatrix |
Detect vector-to-matrix or matrix-to-vector conversions. Set by the Vector/matrix block input conversion option on the Conversion Diagnostics pane of the Configuration Parameters dialog box. |
{'none'} | 'warning' | 'error' |
Version |
release version number |
|
WideLines |
|
|
WideVectorLines |
'on' | {'off'} |
|
ZeroCross |
|
|
ZeroCrossControl |
Enable zero-crossing detection. Set by the Zero crossing control control on the Solver pane of the Configuration Parameters dialog box. |
{'UseLocalSettings'} | 'EnableAll' | 'DisableAll' |
ZoomFactor |
Zoom factor of the model editor window expressed as a pecentage of normal (100%). Set by the zoom commands on the model editor's View menu. |
string {'100'} |
Examples of Setting Model Parameters
These examples show how to set model parameters for the mymodel system.
This command sets the simulation start and stop times.
This command sets the solver to ode15s and changes the maximum order.
This command associates a SaveFcn callback.
| Model and Block Parameters | Common Block Parameters | ![]() |
© 1994-2005 The MathWorks, Inc.