In Simulink, Matlab Function, how to save a variable at the end of the simulation?
2 次查看(过去 30 天)
显示 更早的评论
When the Simulation is stopped/finished, I want to have access to matrix M.
0 个评论
采纳的回答
Kaustubha Govind
2013-4-23
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.
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!