Effacer les filtres
Effacer les filtres

Change gain while running the simulation

1 vue (au cours des 30 derniers jours)
Antonio
Antonio le 23 Oct 2014
Hi everyone,
I would like to perform some calculations during the simulation in a Matlab Function with Simulink. It will be neccessary to update the gain with a matrix, calculated in this Matlab Function. This way I want to create an adaptive control.
Is it possible to update the gain from a function inside the model? I haven't found a solution yet. :(

Réponses (1)

Rick Rosson
Rick Rosson le 23 Oct 2014
Replace the gain block with a product block.

Catégories

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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by