Simulink Supported Block Details

From UcgnWiki

Jump to: navigation, search
(Created page with 'Main Page >> Simulink Supported Blocks >> Supported Block Details ---- == Subsystems == File:Simulink_SupportedBlocksSubsystems.jpg == Stateflow == == Math == [[…')
(Subsystems)
Line 5: Line 5:
== Subsystems ==
== Subsystems ==
[[File:Simulink_SupportedBlocksSubsystems.jpg]]
[[File:Simulink_SupportedBlocksSubsystems.jpg]]
 +
 +
* Top-level subsystems (model or library) have to be set to "atomic".
 +
* Atomic subsystems should be preferred over non-atomic. Non-atomic sub-systems have no corresponding element in source code (because the Simulink engine can freely decide to execute contained blocks inside or outside the sub-system context. As a result the model-transformation layer has to resolve the non-atomic sub-systems by eliminating them and adding all the contained blocks to the next higher context.
 +
* There is some support for masked subsystems. But in general the use of masked systems and parameters is discouraged. Basically, from an implementation perspective mask parameters represent additional procedure inputs (like Inports), but they are hidden. Also, while fixed "early-binding" settings (type and dimension) can be enforced on Inports, the same is not possible for mask parameters.
 +
* Merge blocks have to be used on all outputs of Action sub-systems. The design has to ensure that one of the Merge inputs is active under any circumstances. (Simulink is a little more tolerant)
== Stateflow ==
== Stateflow ==

Revision as of 22:05, 26 June 2010

Personal tools