R2024b - simulink arduino support package for arduino
12 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
colordepth
on 23 Oct 2024
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.
0 Comments
See Also
Categories
Find more on Arduino Hardware 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!