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

1 vue (au cours des 30 derniers jours)
changming zhao
changming zhao le 20 Nov 2017
Commenté : Pablo Goroso le 4 Mai 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 commentaire
Pablo Goroso
Pablo Goroso le 4 Mai 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!