| Simulink Reference | ![]() |
Specifying Parameters and Object Paths
This section explains how to specify parameters and object paths required by model construction commands.
How to Specify Parameters for the Commands
The commands described in this chapter require that you specify arguments that describe a system, block, or block parameter. Model and Block Parameters, provides comprehensive tables of model and block parameters.
How to Specify a Path for a Simulink Object
Many of the commands described in this chapter require that you identify a Simulink system or block. Identify systems and blocks by specifying their paths:
mdl extension.
If the block name includes a newline or carriage return, specify the block name as a string vector and use sprintf('\n') as the newline character. For example, these lines assign the newline character to cr, then get the value for the Signal Generator block's Amplitude parameter.
If the block name includes a slash character (/), you repeat the slash when you specify the block name. For example, to get the value of the Location parameter for the block named Signal/Noise in the mymodel system, enter
| Task-Oriented List of Commands | Model Construction Commands | ![]() |
© 1994-2005 The MathWorks, Inc.