Getting weird errors in Simulink with Model Linearizer

18 次查看(过去 30 天)
Hi everyone,
im trying to linearize a aircraft model with using Model Linearizer app,
i have a function that have all aircraft dynamics, and im using in simulink with interpreted matlab function block
Firstly i did the linearizing like 1 week ago, yesterday i just want to do again and i had get a bunch of errors,
Firstly Linearizing app does not linearize the system, all variables were the same as I did before. I didn't change anything
In Trim progress viewer
im getting this error;
(Maximum Error) Block
(1.36232e+00) 'SimulinkFileName'/Subsystem/Integrator
and end of the trim im getting ;
"Maximum number of function evaulations or iterations was exceed. Restart using this resulting solution or use the optimization options to increse the number of iterations or function evaluations."
i try every tolerance and number of iterartions but its still same
And i have another error, I think this error is important to solve the problem.
So i close the Model Linearizer after the unsuccessful trimming. After the closing i try to open Model Linearizer in Apps tab, im getting this error,
"unrecognized function or variable "'wb" model linearizer", which is weird because i dont have any "wb" variable or function in my code.
I'm solving this error with restarting the matlab but i dont know what is the main problem there
So that's all i think, If any file is need, just say it and i will upload it very quickly.
Best Regards

回答(1 个)

akshatsood
akshatsood 2024-1-5
编辑:akshatsood 2024-1-5
I understand that you seek guidance in resolving the "bunch of errors" you are encountering while trying to linearize a Aircraft Model while leveraging the Model Linearizer app. For troubleshooting the exact problem here, please go through the following references
The above page emphasizes the importance of utilizing the Linearization Advisor before proceeding with the model's linearization. It recommends a thorough examination of the report it generates to spot any faults within the model. This step could prove instrumental in addressing any issues associated with the "Integrator" block. Moreover, the page signifies highlighting the Linearization Path, to provide clarity on the specific blocks that play a role in the linearization process, ensuring a transparent and traceable linearization workflow.
In case the issue still persists, please help me with your model for a more detailed investigation.
I hope this helps.

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by