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

1 view (last 30 days)
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 Comment
Pablo Goroso
Pablo Goroso on 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

Sign in to comment.

Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!