Is there a way to change model parameters at runtime that is support for code generation?
Ältere Kommentare anzeigen
Is there a way to change model parameters at runtime that is support for code generation?
set_param() is suggested all over the place, but it is not supported for code generation on a Raspberry Pi. Is there another way?
Regards,
Tyler
Antworten (1)
Prannay Jain
am 2 Mai 2017
0 Stimmen
For code generation, depending on the complexity of blocks, the user could try building the sources from basic blocks or use S-functions to create custom blocks. These blocks can obviously be designed to take in parameters through ports rather than as mask parameter values.
Kategorien
Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!