initialisation order of blocks in simulink

2 views (last 30 days)
Tom
Tom on 27 Nov 2014
Answered: Orion on 27 Nov 2014
Hi,
We have our own written max-files for interacting C++ with simulink. I would like now to know in what order the initialisation/calculation is done because we would like one to wbe the first one. In that sence we can initialise certain values without having to set them everywhere. Is this possible? I am not talking about a masked system but about the system for which simulink interacts and starts its initialisation of each block.
Tom Wambecq

Answers (1)

Orion
Orion on 27 Nov 2014
Hi,
To know the sequence in which Simulink calculates.
In the toolbar of your Model
Display -> Blocks -> Sorted Execution Order

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!