Change gain while running the simulation
Mostra commenti meno recenti
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. :(
Risposte (1)
Rick Rosson
il 23 Ott 2014
0 voti
Replace the gain block with a product block.
Categorie
Scopri di più su Create Large-Scale Model Components in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!