Question
I use FINDOP to find an equilibrium point of my model. I use the output with LINMOD or DLINMOD, and the system does not behave as expected because the states are out of order.
Expert Answer
Neeta Dsouza
PhD Expert
Answered Aug 25, 2026
Functions FINDOP and LINEARIZE in Simulink Control Design 3.0 (R2009b) define states in a different order than functions in Simulink (TRIM and LINMOD).
The Simulink Control Design functions are intended to be used together, and the Simulink functions are intended to be used together.
The GETXU and GETSTATESTRUCT commands reorder the states output from FINDOP into the order used by Simulink (including LINMOD and DLINMOD). GETXU puts the states in a vector, and GETSTATESTRUCT puts the states in a structure.
There is no direct method to reorder the states output from TRIM into a form usable by LINEARIZE. As a workaround, one can manually reorder the states.
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related matlab Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →