Excute Lqr function during simulink model simulation

2 views (last 30 days)
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!