external simulation, output during simulation

1 次查看(过去 30 天)
I have an external simulation (arduino uno). Is it possible to get data out during the simulation, save them somewhere and use them in some other application while the simulation is still runnning. I need to save them to workspace or .txt file. I was told it should be possible using a scope but a file or a variable is generetad only when simulation is done. I want to show a chart on a website when simulation is running so i want to create something like scope but on the website.

回答(1 个)

Dimitri MANKOV
Dimitri MANKOV 2021-5-17
Hi Stefan,
Logging and displaying signal values during runtime is definitely possible with Simulink Real-Time. However, this toolbox does not allow you to deploy a Simulink model as a real-time application on an Arduino Uno device: only Speedgoat real-time machines are supported by Simulink Real-Time.
I hope this is helpful!
Dimitri

Community Treasure Hunt

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

Start Hunting!

Translated by