external simulation, output during simulation

1 Ansicht (letzte 30 Tage)
Stefan Jakubjak
Stefan Jakubjak am 15 Apr. 2021
Beantwortet: Dimitri MANKOV am 17 Mai 2021
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.

Antworten (1)

Dimitri MANKOV
Dimitri MANKOV am 17 Mai 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!
Dimitri

Community Treasure Hunt

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

Start Hunting!

Translated by