external simulation, output during simulation
显示 更早的评论
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
2021-5-17
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!