Linearization error "Cannot resolve: [blockname]"

10 visualizaciones (últimos 30 días)
Filippo Davide Riccaboni
Filippo Davide Riccaboni el 7 de Jun. de 2021
Comentada: Steve Miller el 25 de Nov. de 2022
Good evening,
I'm currently having a problem with Model linearizer toolbox in Simulink.
My model simulates the motion of a Tractor-Semitrailer vehicle given a certain steering wheel input. Simply put, the goal is to try to implement different control strategies which minimize certain outputs. The configuration is that of a simple feedback block diagram:
ref |--------------| input |-----------|
--->o--->| Controller |---------->| Vehicle |--------|
^ |--------------| |-----------| |
| output |
|----------------------------------------------------|
I'm trying to implement an Adaptive MPC by means of the built in Simulink block, Therefore I need to linearize the "Vehicle" block at certain timesteps. I'd like to do so using the model linearizer toolbox, but whenever I try to run it the Diagnostic viewer pops up and reads out as follows:
The funny thing is that when I tried to run the whole nonlinear model with other control strategies the code and block diagram worked a treat.
Has anybody ever encountered a similar problem?
Thank you in advance for your help!
  2 comentarios
Luke Halberstadt
Luke Halberstadt el 7 de Feb. de 2022
Editada: Luke Halberstadt el 7 de Feb. de 2022
What happens if you use the linearization advisor as described here?
Does the "Model Linearizer" app open and then a later operation causes the diagnostic error?
Steve Miller
Steve Miller el 25 de Nov. de 2022
Something with the name "Vehicle" is in the error message, but it isn't clarified what. If you can figure out if this is a function, variable, library link, ... then you will be closer to figuring out the source of the issue.
--Steve

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Nonlinear Control en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by