I cannot flip manual switch while in monitor and tune

조회 수: 37 (최근 30일)
Malek
Malek 2024년 10월 8일
편집: Vorrapath Kokaew 2024년 10월 29일 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
Abhinav Aravindan
Abhinav Aravindan 2024년 10월 8일
Hi @Malek,
Could you share the Simulink model file to understand the issue better?
Malek
Malek 2024년 10월 8일
Attached is my simulink file.

댓글을 달려면 로그인하십시오.

채택된 답변

Amal Raj
Amal Raj 2024년 10월 28일 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
Vorrapath Kokaew
Vorrapath Kokaew 2024년 10월 29일 12:04
편집: Vorrapath Kokaew 2024년 10월 29일 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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by