Is there an Initialization block in Simulink?
Show older comments
Is it possible to create a masked subsystem block that can be placed into a block diagram and serve as an Initialization block? In the masked initialization block, the user would enter the location and name of a script or function. This block would be added to the top-level of a Simulink model, and the specified script or function would be executed each time the model is opened or loaded. It would function similarly to the model initialization function callback under the "File -> Model Properties" menu item; however, it would be represented as a Simulink block.
Accepted Answer
More Answers (0)
Categories
Find more on Subsystems 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!