
Convert a 2013a multibody model to 2022b
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi, I'm trying to convert this 2013a multibody model to 2022b version but I'm a beginner in multibody simscape and I'm stuck because I have the error message attached. I think the problem comes from the prismatic link, I'm not sure if the world frame block is well placed. Can you help me on this model? For information it simulates the vertical movement of a crank rod system. Thanks



댓글 수: 0
채택된 답변
Yifeng Tang
2025년 3월 6일
편집: Yifeng Tang
2025년 3월 6일
Looks like some of the frames need a rotation. I'm not sure about what mechanism you are trying to model, but right now, the three bars can rotation in the x-y plane, but the prismatic joint is trying to make one end to move in the z-direction, i.e. out of the x-y plane. I suspect the prismatic joint should be constraining the motion in the x or y direction instead.
I took out the 1D Simscape part and kept only the Multibody. After adding some rigid transform blocks to align the motion direction, the model will at least assemble and move. See attached. Not sure whether that's what you intended. Here is a picture.

추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multibody Dynamics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!