Generate Equations of Motion of Simscape Model
6 views (last 30 days)
Show older comments
Hi all,
Are the equations of motion formulated by MATLAB Simscape Multibody available to the users? From what I understand, the equations are generated internally and cannot be extracted by the users. But I want to be sure on this.
I also tried using the C code generation but it numerically integrates the equations and doesn't give access to the equations directly.
Any comments are appreciated. Thanks!
0 Comments
Answers (1)
Shreshth
on 16 May 2024
Hello Ramkumar,
Your understanding is correct. MATLAB Simscape Multibody (formerly known as SimMechanics) is a powerful tool for simulating mechanical systems, which automatically generates and solves the equations of motion for the physical models you create. This process is highly abstracted to simplify the modelling and simulation process, meaning that the software does not explicitly expose the underlying equations of motion to the user in a direct mathematical form.
Simscape Multibody handles the equations of motion internally. It creates these equations based on the physical setup (bodies, joints, forces, etc.) that you define using its graphical interface or through MATLAB code. The software uses a symbolic and numerical computation engine to derive and solve these equations efficiently.
For more information to Simscape Multibody you can refer to the below mentioned documentation by MathWorks:
Hope it helps.
0 Comments
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!