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 CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!