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

Risposte (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.

Categorie

Scopri di più su Simulink Coder in Centro assistenza e File Exchange

Richiesto:

il 26 Apr 2017

Risposto:

il 2 Mag 2017

Community Treasure Hunt

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

Start Hunting!

Translated by