Export mass matrix and stiffness matrix from Matlab Simscape
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Marco Astner
am 30 Jan. 2024
Beantwortet: Vidip
am 20 Mär. 2024
Dear Matlab community,
if I create in Simscape for example a structure of a mass, placed on springs, is it possible from Simscape to export a sort of mass and stiffness matrix of the whole system?
Thank you in advance and best wishes.
0 Kommentare
Akzeptierte Antwort
Vidip
am 20 Mär. 2024
In Simscape, you can create a system with masses and springs, and it’s possible to extract information related to the mass and stiffness properties. However, directly exporting a mass and stiffness matrix from Simscape is not straightforward.
You can access system matrices programmatically, use ‘get_param’ function to retrieve a handle to your Simscape model within MATLAB. Also, you can develop a custom Simulink block and integrate into model that calculates and outputs the mass and stiffness matrices based on the properties of your Simscape model components (masses, springs, etc.). This block could leverage parameter values and connection information to perform the calculations.
For further information, refer to the documentation links below:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simscape Multibody finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!