MATLAB Answers

Error using RoboticsPlayground app while running a sample simulation

19 ビュー (過去 30 日間)
Kartik Upadhyay
Kartik Upadhyay 2019 年 10 月 8 日
回答済み: Jose Avendano Arbelaez 2020 年 8 月 17 日
The error statement: Error evaluating 'InitFcn' callback of block_diagram 'untitled'.
Callback string is 'RPInit
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 件のコメント

J Chen
J Chen 2019 年 10 月 14 日
Most likely the app uses a newer version of Matlab.
Kartik Upadhyay
Kartik Upadhyay 2019 年 10 月 15 日
I guess the app uses an older version of MATLAB because I use the latest version of MATLAB
metlej houssein
metlej houssein 2020 年 5 月 14 日
did you find any solutions for that, I have the same problem


回答 (2 件)

Jose Avendano Arbelaez
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:
  1. 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.
  2. Start from a provided example instead of creating a model from scratch.

  0 件のコメント


Sebastian Castro
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
mohan nakum 2020 年 5 月 12 日
I have same problem and yes when I type Ver, simscape multibody show up what is solution ?


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by