Is there an Initialization block in Simulink?
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!