Is there a simulation speed difference between subsystem and model block? and What's the best way to set and handle parameters?
Show older comments
Hi all,
I am new to simulink desgin and have some question.
I am doing my first project and I want to optimize simulation speed because the model contains many components.
Right now, I have a model constructed with many other models because it seems easier that way to test seperately and make changes.
I am just wondering if having model blocks slow down simulation speed.
Second question I have is what's the best way to set parameters?
I like masking and setting parameters there because it's neat and easier to track for others who might use my model. But masking a model block has no effect on parameters inside of the block. For now, all the parameters are set in base workspace, but is there a better way to do this?
Thanks
Accepted Answer
More Answers (0)
Categories
Find more on Component-Based Modeling 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!