I cannot flip manual switch while in monitor and tune

37 vues (au cours des 30 derniers jours)
Malek
Malek le 8 Oct 2024
Modifié(e) : Vorrapath Kokaew le 29 Oct 2024 à 12:09
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 commentaires
Abhinav Aravindan
Abhinav Aravindan le 8 Oct 2024
Hi @Malek,
Could you share the Simulink model file to understand the issue better?
Malek
Malek le 8 Oct 2024
Attached is my simulink file.

Connectez-vous pour commenter.

Réponse acceptée

Amal Raj
Amal Raj le 28 Oct 2024 à 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 commentaire
Vorrapath Kokaew
Vorrapath Kokaew le 29 Oct 2024 à 12:04
Modifié(e) : Vorrapath Kokaew le 29 Oct 2024 à 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

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by