R2024b - simulink arduino support package for arduino

11 views (last 30 days)
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?

Answers (1)

colordepth
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.

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!