Simulink Release Notes |
Hierarchical Variable Scoping
This release extends the ability of Simulink to resolve references to variables in masked subsystems. Previously Simulink could resolve references only to variables in a block's local workspace.With this release, Simulink will resolve references to variables located anywhere within the workspace hierarchy containing the block (see The Mask Workspace in Using Simulink).
Note In some cases, hierarchical scoping will cause some models to behave differently in the current release than in previous releases of Simulink. |
Many Simulink blocks can now accept or output matrix signals. A matrix signal is a two-dimensional array of signal elements represented by a matrix. Each matrix element represents the value of the corresponding signal element at the current time step. In addition to matrix signals, Simulink also supports scalar (dimensionless) signals and vector signals (one-dimensional arrays of signals). Simulink can optionally thicken (select Wide Lines from the Format menu) and display the dimensions of lines (select Line Dimensions from the Format menu) that carry vector or matrix signals. When you select the Line Dimensions option, Simulink displays a label of the form [r x c]
above a matrix signal line, where r
is the number of rows and c
is the number of columns. For example, the label [2 x 3]
indicates that the line carries a two-row by three-column matrix signal.
You can use Simulink source blocks, such as a Sine Wave or a Constant block, to generate matrix signals. For example, to create a time-invariant matrix signal, insert a Constant block in your model and set its Constant Value parameter to any MATLAB expression that evaluates to a matrix, e.g., [1 2; 3 4]
, that represents the desired signal. See Working with Signals in Using Simulink for more information.
Simulink Data Objects
Simulink data objects allow a model to capture user-defined information about parameters and signals, such as minimum and maximum values, units, and so on (see Working with Data Objects in Using Simulink).
Block Execution Order
Simulink now optionally displays the execution order of each block on the model's block diagram (see Displaying Block Execution Order in Using Simulink).
Simulink Editor | Simulink Debugger |