Is there a way to change model parameters at runtime that is support for code generation?

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

Answers (1)

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.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Asked:

on 26 Apr 2017

Answered:

on 2 May 2017

Community Treasure Hunt

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

Start Hunting!