Real time Scope from Arduino dont work on external mode

3 ビュー (過去 30 日間)
Kay Levinson
Kay Levinson 2019 年 10 月 28 日
回答済み: Arun Kumar 2019 年 10 月 29 日
Hello,
I'm using Arduino Due and I cant display scopes or even save data to workspace in external mode.
I tried running this model to check if someting is wrong with my Arduino.
בלה בלה מטלאב.png
But when I ran it, the simulation time runs normally while on the simulink scope screen
the time stays at 0 and I cant get any data.
I tried to use the display block and also the to workspace block and I still dont get any data.
I know the arduino is connected because when I use the model for servo it works.

回答 (1 件)

Arun Kumar
Arun Kumar 2019 年 10 月 29 日
Hi,
You need to mark the signals for logging while using XCP external mode. Refer the following documentation for more details: <https://in.mathworks.com/help/supportpkg/arduino/ref/communicate-with-arduino-using-xcp-based-external-mode-simulation.html>

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by