How to change Simscape Multibody model parameter during simulation
조회 수: 6 (최근 30일)
이전 댓글 표시
My multibody modle shall change length,mass,inertia of the rod during simulation. Is this supported in the Simulink
댓글 수: 1
Ameer Hamza
2020년 6월 20일
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/.
답변 (1개)
Steve Miller
2021년 6월 7일
Hi Mark,
There are variable solid blocks in Simscape Multibody.
- https://www.mathworks.com/help/physmod/sm/ref/variablebricksolid.html
- https://www.mathworks.com/help/physmod/sm/ref/variablecylindricalsolid.html
- https://www.mathworks.com/help/physmod/sm/ref/variablesphericalsolid.html
Their properties can vary during simulation.
You can also motion actuate a joint to change the separation of two frames during simulation.
--Steve
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!