Why do I receive an error when I copy a subsystem that contains a Joint Spring and Damper block in SimMechanics 2.0 (R13+)?
조회 수: 3 (최근 30일)
이전 댓글 표시
Why do I receive an error when I copy a subsystem that contains a Joint Spring and Damper block in SimMechanics 2.0 (R13+)?
I have a SimMechanics model that contains a Joint Spring and Damper block placed in a subsystem. If I copy that subsystem
and connect it to the original, I receive the following error message:
Error in block 'new_double_pend/Element2/Joint Spring & Damper': Block initialization commands cannot be evaluated.
MATLAB error message: Error using ==> add_block
A new block named 'new_double_pend/Element2/Joint Spring & Damper/SpringDamper4' cannot be added
If I manually create the same subsystem and connect it to the original subsystem, the model runs without any problems.
Is this the expected behavior?
채택된 답변
MathWorks Support Team
2009년 6월 27일
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This problem has been fixed in SimMechanics 2.1 (R13+).
If you are using a previous version, read the following:
As a workaround, you can replace the Joint Spring and Damper block in the copied subsystem with a new Joint Spring and Damper block from the SimMechanics library. This should allow you to simulate your model without any problems.
댓글 수: 0
추가 답변 (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!