MATLAB Answers

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

조회 수: 2(최근 30일)
changming zhao
changming zhao 20 Nov 2017
댓글: Pablo Goroso 4 May 2019
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 4 May 2019
escriba esto en el command windows:
codertarget.arduinobase.registry.setBaudRate ("arduino_one", 153660)
la respùesta sera:
Baud rate has been set to 153660

로그인 to comment.

답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.