Simulink model not running in real time
21 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
praguna manvi
2025 年 2 月 11 日 11:24
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!