How to save data to workspace when simulink is running in external mode?

1 次查看(过去 30 天)
I connect matlab with a ros device, then run simulink in external mode, it can work well. But there is a little problem, the data cannot be saved into matlab workspace, and it appears the following warning. How should I do to save data to matlab workspace or .mat file?

回答(1 个)

Swaroop Gopa Srinivas
I understand that, simulation result need to be stored when model is run in external mode.
Try using To Workspace block to store the output.

类别

Help CenterFile Exchange 中查找有关 Publishers and Subscribers 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by