Effacer les filtres
Effacer les filtres

How the Tunable parameters are generated in the code ?

4 vues (au cours des 30 derniers jours)
Aluri Pramod Kumar
Aluri Pramod Kumar le 25 Juin 2015
If the Parameter is mentioned as a tunable parameter in the configuration parameters. Then how we can tune the parameter dynamically(While code is running)?

Réponse acceptée

Jorik
Jorik le 4 Sep 2015
After updating the value of a variable (e.g. in the MATLAB base workspace), the parameter is not automatically changed in the simulation. During the simulation you can perform a model update (e.g. Ctrl+D), to let Simulink check if any of the tunable parameters were changed. The parameter could also be changed with a "set_param" function call.
For more info, see: Tunable Block Parameters

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by