Filter löschen
Filter löschen

How to change Simscape Multibody model parameter during simulation

9 Ansichten (letzte 30 Tage)
Mark Wang
Mark Wang am 20 Jun. 2020
Beantwortet: Steve Miller am 7 Jun. 2021
My multibody modle shall change length,mass,inertia of the rod during simulation. Is this supported in the Simulink
  1 Kommentar
Ameer Hamza
Ameer Hamza am 20 Jun. 2020
I don't think it is supported yet. I tried it some time ago, but simscape blocks didn't respond to that. Simsapce blocks are different as compared to normal Simulink blocks, so I guess there are some implementation differences. You may try it using event-listeners and set_param() as given here: https://blogs.mathworks.com/simulink/2013/01/25/accessing-block-data-during-a-simulation/.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Steve Miller
Steve Miller am 7 Jun. 2021
Hi Mark,
There are variable solid blocks in Simscape Multibody.
Their properties can vary during simulation.
You can also motion actuate a joint to change the separation of two frames during simulation.
--Steve

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by