external simulation, output during simulation

1 view (last 30 days)
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.

Answers (1)

Dimitri MANKOV
Dimitri MANKOV on 17 May 2021
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!

Community Treasure Hunt

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

Start Hunting!