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

4 vues (au cours des 30 derniers jours)
tangzhong song
tangzhong song le 19 Déc 2020
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?

Réponses (1)

Swaroop Gopa Srinivas
Swaroop Gopa Srinivas le 24 Fév 2021
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.

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by