LQR Simulink block model
123 次查看(过去 30 天)
显示 更早的评论
Can anyone send me a simulink block that solves lqr function please
2 个评论
Gurkan KAVURAN
2018-5-9
https://www.mathworks.com/matlabcentral/fileexchange/67268-simulink-block-of-lqr
回答(4 个)
Azzi Abdelmalek
2013-9-15
编辑:Azzi Abdelmalek
2013-9-15
There is no such block, but you can call the LQR function from simulink by using Interpreted MATLAB Function
2 个评论
Joschua
2013-12-4
Did this work for you? I'm trying to do code generation, but an error message appears, telling me that Intepreted MATLAB functions are not supported yet.
Pawel
2013-11-11
Send me also this example :) I have write an e-mail 2you.
1 个评论
Gurkan KAVURAN
2018-5-9
https://www.mathworks.com/matlabcentral/fileexchange/67268-simulink-block-of-lqr
mira ismail
2015-4-26
Hi, can I have the example? I'm trying to generate simulink model using LQR, but its a bit confusing.
3 个评论
iman ghaffari
2017-8-11
Hi Nanu I am working on design LQR controller for quadrotor and I'm so confused . do u can help me? please connect with me. imanghaffari72@gmail.com
Gurkan KAVURAN
2018-5-9
https://www.mathworks.com/matlabcentral/fileexchange/67268-simulink-block-of-lqr
Maxrwil Xlx
2021-10-14
There already is example where the LQR is created via blocks in SImulink: https://www.mathworks.com/help/control/getstart/design-an-lqr-servo-controller-in-simulink.html
Type
lqrpilot
for the diagram and
lqrdes
to calculate the LQR gain (or call CTRL+D on the lqrdes to view the code).
If you want to build LQR gain during simulation. You have to use the block in File Exchage: https://www.mathworks.com/matlabcentral/fileexchange/67268-simulink-block-of-lqr as others suggested.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!