Arduino Simulink Model Works fine when running on board but says digital i/o pin invalid in connected IO mode

1 次查看(过去 30 天)
I just started using version 2021b. When trying the simple blink a light model in Simulink
, when running on the Arduino 2560 everything works fine. However when I try to run the exact same model in Connected IO mode it tells me the digital pin I am trying to write to is invalid and won't run. It doesn't matter which pin number I try, the result is the same. Am I forgetting to enable something, or is there a bug.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by