Simulink Reference Previous page   Next Page

Model Parameters

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.

Model Parameters 
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

For internal use.


ArrayBoundsChecking

Setting for the Array bounds exceeded diagnostic on the Data Integrity Diagnostics pane of the Configuration Parameters dialog box.

{'none'} | 'warning' | 'error'
ArtificialAlgebraic
LoopMsg

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
StringDataTip

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

Type of block diagram.

'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
Tip

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
ViolationMsg

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

Names of the blocks that this model contains.

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

Deprecated.


BrowserHandle

Deprecated.


BrowserLookUnder
Masks

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 slCharacterEncoding command for more information.

string
CheckExecutionContext
RuntimeOutputMsg

Set by the Check runtime output of execution context option on the Compatibility Diagnostics pane of the Configuration Parameters dialog box.

{'on'} | 'off'
CheckExecutionOrder
ContextPreStart
OutputMSg

Set by the Check preactivation output of execution context option on the Compatibility Diagnostics pane of the Configuration Parameters dialog box.

{'on'} | 'off'
CheckMatrix
SingularityMsg

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
TargetMessage

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
OutputMsg

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

Close callback.

command or variable
ConditionallyExecute
Inputs

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

Configuration manager for this model.

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.
If set to off, display the coverage results from successive simulations in the report. Set by the radial buttons Cumulative runs (on)/Last runs (off) in the Report pane of the Coverage Settings dialog box.

'on' | {'off'}
CovCumulativeVarName

If covSaveCumulativeToWorkSpace
Var is set to on, model coverage saves the results of successive simulations in the workspace variable specified by this property. Entered in the field below the selected Save cumulative results in workspace variable check box on the Results pane of the Coverage Settings dialog box.

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):
  • '-aTS=1'
  • Include each test in the model summary

  • '-bRG=1'
  • Produce bar graphs in the model summary

  • '-bTC=0'
  • Use two color bar graphs (red, blue)

  • '-hTR=0'
  • Display hit/count ratio in the model summary

  • '-nFC=0'
  • Do not report fully covered model objects

  • '-scm=1'
  • Include cyclomatic complexity numbers in summary

  • '-bcm=1'
  • Include cyclomatic complexity numbers in block details

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:
  • 'd'
  • Enable decision coverage

  • 'c'
  • Enable condition coverage

  • 'm'
  • Enable MCDC coverage

  • 't'
  • Enable lookup table coverage

  • 'r'
  • Enable signal range coverage

  • 's'
  • Treat Simulink logic blocks as short-circuited

  • 'w'
  • Warn when unsupported blocks exist in model

  • 'e'
  • Eliminate model coloring for coverage results

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
WorkspaceVar

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

Date and time model was created.

string
Creator

Name of model creator.

string {''}
CurrentBlock

For internal use.


CurrentOutputPort

For internal use.


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

Default font size for blocks contained by this model.

{'10'}
DeleteChildFcn

Delete child callback.

string {''}
Description

Description of this model.

string
Dirty

If the paramter is on, the model has unsaved changes.

'on' | {'off'}
DiscreteInherit
ContinuousMsg

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
Results

For internal use.


DisplayBlockIO

For internal use.


DisplayCallGraph
Dominators

For internal use.


DisplayCompileStatus

For internal use.


DisplayCondInputTree

For internal use.


DisplayCondStIDTree

For internal use.


DisplayError
Directions

For internal use.


DisplayInvisible
Sources

For internal use.


DisplaySortedLists

For internal use.


DisplayVectorAnd
FunctionCounts

For internal use.


DisplayVect
PropagationResults

For internal use.


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

For internal use.


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

For internal use.


ForceArrayBounds
Checking

For internal use.


ForceConsistency
Checking

For internal use.


ForceModelCoverage

For internal use.


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
String

For internal use.


GridSpacing

Spacing of model editor grid in pixels.

double
Handle

Handle of this model's block diagram.

double
HiliteAncestors

For internal use.


IgnoreBidirectional
Lines

For internal use.


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

Invariant constant setting.

'on' | {'off'}
Jacobian

For internal use.


LastModifiedBy

Name used for version control.

string
LastModifiedDate

Date used for version control.

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

For internal use.

{'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

For internal use.


Lines

For internal use.


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

For internal use.


Lock

For internal use.


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

For internal use


MinMaxOverflowArchive
Data

For internal use


MinMaxOverflow
ArchiveMode

Logging type for fixed-point logging. Set by the Logging type option in the Fixed-Point Settings dialog box.

{'Overwrite'} | 'Merge'
MinMaxOverflow
Logging

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
Visibility

Show the Model Browser. Set by the Model Browser command of the model's View->Model Browser Options menu.

'on' | {'off'}
ModelDataFile

For internal use.

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
MismatchMessage

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
LoggingMessage

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
MismatchMessage

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
InstancesAllowed

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
TargetVerbose

Print detailed information when generating simulation targets for models referenced by a top-level model.

'on' | {'off'}
ModelReferenceTarget
Type

For internal use.


ModelReferenceVersion
MismatchMessage

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
Occurrences

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
InputsByReference

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

Version number of model.

string {'1.1'}
ModelVersionFormat

Format of model's version number.

string {'1.%<AutoIncrement: 0>'}
ModelWorkspace

References this model's model workspace object.

an instance of the Simulink.ModelWorkspace class
ModifiedBy

Last modifier of this model.

string
ModifiedByFormat

Format for the display of last modifer.

string {'%<Auto>'}
ModifiedComment

Field for user comments.

string {''}
ModifiedDate

Date of last model modification.

string
ModifiedDateFormat

Format of modified date.

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

Model name.

string
NumberNewton
Iterations

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

Names/attributes of model parameters.

structure
Open

For internal use.


OptimizeBlockIO
Storage

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' |
{'RefineOutputTimes'} |
'SpecifiedOutputTimes'

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

Printing paper orientation.

'portrait' | {'landscape'} | 'rotated'
PaperPosition

Position of diagram on paper.

[left, bottom, width, height]
PaperPositionMode

Paper position mode.

{'auto'} | 'manual'
PaperSize

Size of PaperType in PaperUnits.

[width height] (read only)
PaperType

Printing paper type.

'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

Printing paper size units.

'normalized' | {'inches'} | 'centimeters' | 'points'
ParameterArgument
Names

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
LossMsg

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

For internal use.


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

Function invoked just after this model is loaded.

string {''}
PostSaveFcn

Function invoked just after this model is saved to disk.

string {''}
PreLoadFcn

Preload callback.

command or variable {''}
PreSaveFcn

Function invoked just before this model is saved to disk.

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

Enables the simulation profiler for this model.

'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:

CovCompData
CovCumulativeReport
CovCumulativeVarName
CovHTMLOptions
CovHTMLReporting
CovMetricSettings
CovNameIncrementing
CovPath
CovReportOnPause
covSaveCumulativeToWorkSpaceVar
CovSaveName
CovSaveSingleToWorkspaceVar

If 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 {'1'}
RelTol

Relative error tolerance. Set by the Relative tolerance field on the Solver pane of the Configuration Parameters dialog box.

string {'1e-3'}
ReportName

Name of the associated file for the Report Generator

string {'simulink-default.rpt'}
RequirementInfo

For internal use.


RTW...

See the Real-Time Workshop documentation for more information on parameters whose names begin with RTW.


SampleTimeColors

Set by the Sample Time Colors option under the Format menu.

'on' | {'off'}
SampleTimeConstraint

Set by the Periodic Sample Time Constraint option on the Configuration Parameters dialog box.

{'unconstrained'} | 'STIndependent' | 'Specified'
SaveDefaultBlock
Params

For internal use.


SaveFcn

Save callback.

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

For internal use.


SfunCompatibility
CheckMsg

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

Show the model editor grid.

'on' | {'off'}
ShowLinearization
Annotations

Toggles linearization icons in the model.

{'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
OnError

For internal use.


ShowLineWidths

Show Line Widths menu option.

'on' | {'off'}
ShowLoopsOnError

Highlight invalid loops graphically.

{'on'} | 'off'
ShowModelReference
BlockIO

Toggles display of version on block.

'on' | {'off'}
Shown

For internal use.


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
Error

For internal use.


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
Msg

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

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

For internal use.


SimulationCommand

Executes a simulation command.

'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

Indicates simulation status.

{'stopped'} | 'updating' | 'initializing' | 'running' | 'paused' | 'terminating' | 'external' |
SimulationTime

Current time value for the simulation.

double {0}
SingleTaskRateTrans
Msg

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

Start simulation callback.

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

Stop simulation callback.

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

For internal use.


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
Class

List of storage classes for their respective tunable parameters. Set in the Model Parameter Configuration dialog box.

string {''}
TunableVarsType
Qualifier

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
TypeMsg

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
ConvMsg

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
Targets

Rebuilding options. Set on the Model Referencing pane of the Configuration Parameters dialog box.

'IfOutOfDate' | 'Force' | 'AssumeUpToDate' | {'IfOutOfDateOrStructuralChange'}
UseAnalysisPorts

For internal use.


VectorMatrix
ConversionMsg

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

Simulink version used to modify the model (read only).

release version number
WideLines

For internal use.


WideVectorLines

Wide Vector Lines menu option.

'on' | {'off'}
ZeroCross

For internal use.


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.


Previous page  Model and Block Parameters Common Block Parameters Next page

© 1994-2005 The MathWorks, Inc.