Error using RoboticsPlayground app while running a sample simulation
조회 수: 9 (최근 30일)
이전 댓글 표시
The error statement: Error evaluating 'InitFcn' callback of block_diagram 'untitled'.
Callback string is 'RPInit
SimMechanicsRigidlyBoundBlock'
Caused by:
block_diagram does not have a parameter named 'SimMechanicsRigidlyBoundBlock'.
I followed this youtube video to get to know how to use the app and followed the exact steps given in the app because I am a begineer to MATLAB and SIMULINK.
댓글 수: 3
답변 (3개)
Jose Avendano Arbelaez
2020년 8월 17일
This error occurs when you copy an environment form the library to a blank model. Here are two solutions:
- Click on the arrow in the lower left corner of the environment to look under the mask. (This should update the model properties). Then you can navigate back to the top level of the model.
- Start from a provided example instead of creating a model from scratch.
댓글 수: 1
Joseph Smith
2021년 5월 30일
I recently ran into this error and figured I'd post a screenshot relating to your solution 1, in case any beginners need clarification. The arrow mentioned is circled in red.
Sebastian Castro
2019년 11월 12일
Do you have a Simscape Multibody license? If you type in
>> ver
in MATLAB, does that toolbox show up?
- Sebastian
댓글 수: 1
mohan nakum
2020년 5월 12일
I have same problem and yes when I type Ver, simscape multibody show up what is solution ?
Cristina Manuela Peixoto Santos
2021년 8월 31일
Hello
I have the samer eror. I have simscape multibody licence. I did what Jose Svendano suggests but it did not work out the problem. Can you help me out?
Best
Cristina
댓글 수: 1
Henghua Shen
2022년 2월 22일
편집: Henghua Shen
2022년 3월 28일
I had similar problems when creating a model from scratch. They were solved by adding the according toolbox from "Add-ons", Like Simscape, navigation toolbox, etc.
- Click on the arrow in the lower left corner of the environment to look under the mask. (This should update the model properties). Then you can navigate back to the top level of the model.
It works now~
참고 항목
카테고리
Help Center 및 File Exchange에서 Troubleshooting에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!