Need helps for data disappear after running "sim"
Show older comments
Hello everyone, I am a simulink learner. I have one problem with date save related with "sim". Thank you for helping. Problem statement: When running the "sim('model')", the variables names of the simulink model can be seen in the matlab base Workspace. But when "sim" command is completed and continues to the following codes, all those mdl variables disappear from the workspace, even the "save to space" ports are set in simulink model. I do not how to solve this problem. Thanks for any suggestion and help!
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!