R2024b - simulink arduino support package for arduino

5 次查看(过去 30 天)
I'm trying to use the new version (R2024b) with the arduino support package for Simulink. In previous versions I've been able to change constants and other parameters while running "Monitor and Tune". In this new version it is not possible to change any parameters while the program is running.
The image below shows how the fields of input is grey, compared to previous versions of MATLAB (R2024a) where these fields are white when running the program.
Is there any quick fixes for this issue?

回答(1 个)

colordepth
colordepth 2024-10-23
I encountered the same issue in MATLAB R2024b. To allow parameter changes while using "Monitor and Tune", go to Configuration Parameters -> Code Generation -> Optimization and change the Default parameter behavior from "Inlined" to "Tunable." For more details, visit: https://www.mathworks.com/help/rtw/ref/defaultparameterbehavior.html.

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by