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

嵩人 藤森
嵩人 藤森 2021년 6월 24일
편집: 嵩人 藤森 2021년 6월 24일
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
Cris LaPierre
Cris LaPierre 2021년 6월 24일
편집: Cris LaPierre 2021년 6월 24일
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?
嵩人 藤森
嵩人 藤森 2021년 6월 25일
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?
嵩人 藤森
嵩人 藤森 2021년 6월 28일
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

질문:

2021년 6월 22일

댓글:

2021년 6월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by