Getting weird errors in Simulink with Model Linearizer
7 次查看(过去 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
0 个评论
回答(1 个)
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
Troubeshoot Linearization Results in Model Linearizer: https://in.mathworks.com/help/slcontrol/ug/troubleshoot-linearization-results-in-linear-analysis-tool.html
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.
Identify and Fix Common Linearization Issues: https://in.mathworks.com/help/slcontrol/ug/identify-and-fix-common-linearization-issues.html
In case the issue still persists, please help me with your model for a more detailed investigation.
I hope this helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting Linearization Results 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!