User`s guide
New Features
3-5
Saving Block User Data in Model Files
This version adds a new block parameter, named UserDataPersistent, that is
off by default. Setting this parameter on, e.g.,
set_param(block-name,'UserDataPersistent','on')
causes Simulink to include a block’s user data (i.e., the value of the block’s
UserData parameter) in the model file when you save a model. Simulink
encodes the user data as ASCII characters and saves the encoded data in a new
section of the model file called
MatData. This mechanism works with all forms
of MATLAB data, including arrays, structures, objects, and Simulink data
objects. See “Associating User Data with Blocks” in Using Simulink for more
information.
Absolute Tolerance Enhancements
This version adds a dialog item for setting the absolute tolerance for each state
in the State-Space block, the Transfer Fcn block, and the Zero-Pole block. With
this enhancement, you can now specify the absolute tolerance for solving every
continuous state in your model.
Block Reduction Enhancements
S-functions may now request that they be eliminated from the compiled model.
To do this, call
ssSetBlockReduction(true) inside the S-function. This is an
advanced feature provided for customers writing S-functions who want to
optimize the generated code produced for their S-function. Graphical
connectivity is now remapped during block reduction, eliminating a source of
error during reduction (e.g., a memory reference error used to occur if Simulink
eliminated a block connected to a scope). Block reduction is now
on by default,
and a Simulink preference has been added for the option.
Boolean Logic Signals Preference
The Simulink Preferences dialog box now allows you to specify the use of
Boolean logic signals by default. See “Setting Simulink Preferences” in Using
Simulink for more information.
Subsystem Semantics Demos
Typing sl_subsys_semantics at the MATLAB prompt now displays a set of
models that illustrate the semantics of various types of subsystem blocks. The
demos include formal definitions of function-call subsystems.