How can I change the execution order of simulink blocks relative to others?

1 view (last 30 days)
I have a self made library with many blocks, which will create custom code within embedded coder. But I need some blocks to be generated before other blocks, because some will set some prerequisites which will be indirectly used by the other. I found out that there is a "Priority" field in block properties. Changing this will change the execution and generation order within the code, but only, when these blocks are in the same subsystem. Is there any possibility to cathegorize blocks globally in different groups? Like these blocks first, these blocks last?

Answers (0)

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!