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.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 22 de Jun. de 2021
Editada: Cris LaPierre el 22 de Jun. de 2021

0 votos

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 comentarios

嵩人 藤森
嵩人 藤森 el 24 de Jun. de 2021
Editada: 嵩人 藤森 el 24 de Jun. de 2021
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 el 24 de Jun. de 2021
Editada: Cris LaPierre el 24 de Jun. de 2021
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?
嵩人 藤森
嵩人 藤森 el 25 de Jun. de 2021
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?
嵩人 藤森
嵩人 藤森 el 28 de Jun. de 2021
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

Iniciar sesión para comentar.

Productos

Versión

R2020b

Etiquetas

Preguntada:

el 22 de Jun. de 2021

Comentada:

el 28 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by