Is there any method to reverse engineer Mathematical equations from a Simulink Model?

I am trying to create mathematical equations behind a simulink model. Manually its proving to be a time consuming task. Is there a faster approach to carry out this job?

3 Comments

Did you mean that you have a Simulink model that represents a particular mathematical equation and you want to get the equation that is implemented automatically? What kind of equations are implemented in your Simulink model?
I am looking for a generalized Reverse engineering a Simulink Model into Mathematical model. I usually deal with simple Differential equations.So mostly my life revolves around some integrator blocks.
For simple simulink models, its easily to understand the mathematical relations being used (e.g. say a spring mass damper system) But with larger Simulink models (say a full car- 7 DOF model) it becomes difficult to identify the equations involved.
So my question is there a faster method to regenerate or Symbolically represent the relationships in a Simulink model, than manually analyzing the blocks and writing them out separately?
You can linerize Simulink models to state-stace models. This enables computing a (linear) mathematical representation from the Simulink model at a given operating point. Simulink provides some basic trimming and linearization functions: http://www.mathworks.com/help/simulink/trimming-and-linearization.html The toolbox "Simulink Control Design" offers further trimming and linearization functionality.

Sign in to comment.

 Accepted Answer

You can linerize Simulink models to state-stace models. This enables computing a (linear) mathematical representation from the Simulink model at a given operating point. Simulink provides some basic trimming and linearization functions: http://www.mathworks.com/help/simulink/trimming-and-linearization.html The toolbox "Simulink Control Design" offers further trimming and linearization functionality.

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products

Asked:

on 13 Oct 2014

Answered:

on 31 Oct 2014

Community Treasure Hunt

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

Start Hunting!