I cannot flip manual switch while in monitor and tune

5 visualizaciones (últimos 30 días)
Malek
Malek el 8 de Oct. de 2024
Editada: Vorrapath el 29 de Oct. de 2024
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 comentarios
Abhinav Aravindan
Abhinav Aravindan el 8 de Oct. de 2024
Hi @Malek,
Could you share the Simulink model file to understand the issue better?
Malek
Malek el 8 de Oct. de 2024
Attached is my simulink file.

Iniciar sesión para comentar.

Respuesta aceptada

Amal Raj
Amal Raj el 28 de Oct. de 2024
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 comentario
Vorrapath
Vorrapath el 29 de Oct. de 2024
Editada: Vorrapath el 29 de Oct. de 2024
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by