How to save parameters of masked subsystem to workspace
Show older comments
Hello, I am a simulink leaner. I have one problem needs your suggestion and help. Thank you. In my simulink model A, there are several masked subsytems (a,b,c.. ), in which the parameters are defined ({x1} for a; {x2} for b;...).
The output port "Out1" of model A denotes my object result, but it should be a iterative result. I have to set a loop run for model A based on intial [{x1}, {x2}, {x3}... ]. The "Out1" should be returned to main arithmetical program, and the main program will assign updated {x1'} for masked system a; {x2'} for masked system b;...
I am using the "sim" in the circumstant, and met all these problems. Thank you. I am not sure which commands are supposed to use. Or there is more suitable command? Thank you.
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!