export final point of Simulink signal to Workspace ?
25 次查看(过去 30 天)
显示 更早的评论
I have a signal which is changing over the time of simulation, the signal is time variant signal, the final value of this signal which I interested in. How can I transfer the final point of this signal to Workspace?
0 个评论
采纳的回答
Aniruddha Katre
2017-3-30
You can connect the To Workspace block to the signal you want to log. In the block parameters, set the "Limit data points to last" option to "1" so that only the last data point is logged. Also, set the "Save format" to "array".
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!