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!