Where are MPC toolbox examples?

Hi, I'm studying MPC control theory using MPC toolbox. Although these videos are really hepful https://www.youtube.com/watch?v=evyvdvApPLY&list=PLn8PRpmsu08ozoeoXgxPSBKLyd4YEHww8&index=6 , they don't give us how to do that in essence. The information from the videos seem superficial like,
Woman "Here, I have a custom library I've ever created"
Me "Wait wait wait, how can I do that???"
So, I wanna find the examples in the videos Or something like a folwchart that a beginner can understand.

回答(1 个)

Cris LaPierre
Cris LaPierre 2021-6-22
编辑:Cris LaPierre 2021-6-22

0 个投票

If you expand the details of the video you linked to, you will see a link for downloading the model.
Learn how to design an MPC controller for an autonomous vehicle steering system using Model Predictive Control Toolbox™.
Alternatively, these videos are also part of the MPC toolbox documentation. On the page for this video, you will find a section for Code and Resources.

5 个评论

Thank you for that but there are sevelal things I don't undersatand. My aim is learnig how to bulit models and run through the autonomous steering system model.
I downloded "How To Design An MPC Controller With Simulink And Model Predictive Control Toolbox" from your link and opened "AutonomousSteeringSystem.slx" and 'Params.mat' as README says.
However, "???" appears on the Reference block with no jpg.image and Plant block with no jpg.image.
So please tell me what I should do
The ??? just means it couldn't find the images that are used for the block masks. Consider adding the folder containing the unzipped contents you downloaded to your MATLAB Path to fix this.
However, the models are still there for your to explore and run.
I don't know what your background is. Have you gone through the Getting Started with Model Predictive Control Toolbox resources in the linked documentation page?
Thanks for that. I did what you said, adding the unzipped folder to MATLAB path but there is stil "???"
Also I don't understand " Getting Started with Model Predictive Control Toolbox resources in the linked documentation page " where can I find them? and What will happen once I've done?
Thaks for that. I also posted a quetuion about your URL so I would be glad if you answer it too
https://jp.mathworks.com/matlabcentral/answers/866270-all-states-explode-to-increase-in-simulink-using-mpc-toolbox?s_tid=srchtitle

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Linear Plant Specification 的更多信息

产品

版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by