Simulink model not running in real time
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
praguna manvi
el 11 de Feb. de 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 comentarios
Ver también
Categorías
Más información sobre Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!