How can I access both data and time from the running simulink model and use it in a particular program?
3 次查看(过去 30 天)
显示 更早的评论
How can I access both data and time from the running simulink model and use it in a particular program?
0 个评论
回答(1 个)
Jim Riggs
2022-11-7
Simulink has a "to workspace" block which saves the time history of the model data to the Matlab workspace in a variable that you name. The default output type is a "time series", which automatically includes the simulation time with the data.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!