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