I cannot flip manual switch while in monitor and tune

40 views (last 30 days)
Hello,
When running a simulation on an Arduino Mega 2560 through monitor and tune, I cannot change the position of any manual switch in my block diagram. I am running the simulation on the board and the sim is running on external mode through XCP on Serial. Any help would be much appreciated.

Accepted Answer

Amal Raj
Amal Raj on 28 Oct 2024 at 10:08
Hi Malek, I think you are faced with a bug in 2024b.
The workaround would be to update Default Parameter Behavior parameter drop-down value to Tunable in the config set.
This will solve the issue you are facing. You can even try working with other versions of MATLAB, and you should be fine.
Regards,
Amal
  1 Comment
Vorrapath Kokaew
Vorrapath Kokaew on 29 Oct 2024 at 12:04
Edited: Vorrapath Kokaew on 29 Oct 2024 at 12:09
So, do I. I use ESP32 with arduino package that message shown Cannot change the model '.......' while the simulation is running. Anyway, I already follow the Amal Raj suggestion that WORK!!!!
Thank a lot

Sign in to comment.

More Answers (0)

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!