i use matlab217a simulink.the the code download to target is successful.

1 回表示 (過去 30 日間)
changming zhao
changming zhao 2017 年 11 月 20 日
コメント済み: Pablo Goroso 2019 年 5 月 4 日
i use this command to changge the BaudRate
>>codertarget.arduinobase.registry.setBaudRate(mdl,230400)
It prompts mdl not declared。 What should I do to solve this problem?
I have consulted this answer。 https://cn.mathworks.com/matlabcentral/answers/366909-external-mode-error-with-arduino-mega-2560
  1 件のコメント
Pablo Goroso
Pablo Goroso 2019 年 5 月 4 日
escriba esto en el command windows:
codertarget.arduinobase.registry.setBaudRate ("arduino_one", 153660)
la respùesta sera:
Baud rate has been set to 153660

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!