In Simulink, Matlab Function, how to save a variable at the end of the simulation?
2 views (last 30 days)
Show older comments
When the Simulation is stopped/finished, I want to have access to matrix M.
0 Comments
Accepted Answer
Kaustubha Govind
on 23 Apr 2013
I think the only way to have access to internal data of a MATLAB Function block is to create an output to the function and assign the output to the value of the persistent variable.
2 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!