Simulink model not running in real time
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
If using 'Connected IO' it runs in real time but 'Run on board' it doesn't. When in 'Run on board' every 1 second in real time is 0.001 seconds in Simulink. When using 'Connected IO' no data is displayed from the ultrasonic sensor.
0 Commenti
Risposte (1)
praguna manvi
il 11 Feb 2025
As I see, you are experiencing different execution durations with "Connected IO" compared to "External Mode." This difference is expected since "Connected IO" runs simulations on the PC, while "External Mode" runs the generated code on the actual hardware. For more information, refer to the documentation under "How Connected IO Differs from External Mode":
Additionally, the ultrasonic sensor is currently not supported with "Connected IO." You can find the list of supported sensors in the documentation below:
Hope this helps!
0 Commenti
Vedere anche
Categorie
Scopri di più su Arduino Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!