How to run 2 simulink models in a sequential manner from .m script in a loop?
Show older comments
Actually, I have 2 simulink models in which the first model's outputs are used as input for the next model. I have used 'to' and 'from' blocks to connect one model's outputs with other. The issue is that since they are run in a loop, the workspace is not getting updated. Due to this thing, the from blocks in the 2nd model cannot read the outputs from the first model. How to overcome this issue? (Please check the attached files)
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 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!