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.

Answers (0)

Asked:

on 14 May 2018

Edited:

on 14 May 2018

Community Treasure Hunt

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

Start Hunting!