I cannot flip manual switch while in monitor and tune
40 views (last 30 days)
Show older comments
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.
2 Comments
Abhinav Aravindan
on 8 Oct 2024
Could you share the Simulink model file to understand the issue better?
Accepted Answer
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
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
More Answers (0)
See Also
Categories
Find more on Modeling 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!