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

1 visualización (últimos 30 días)
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 comentario
Pablo Goroso
Pablo Goroso el 4 de Mayo de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!