Excute Lqr function during simulink model simulation

i have a varying state space system and i need during the model simulation at every time step to execute the lqr(A,B,Q,R) command i used matlab fcn block but no use.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by