MATLAB Answers

Error using RoboticsPlayground app while running a sample simulation

24 views (last 30 days)
Kartik Upadhyay
Kartik Upadhyay on 8 Oct 2019
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 Comments

Kartik Upadhyay
Kartik Upadhyay on 15 Oct 2019
I guess the app uses an older version of MATLAB because I use the latest version of MATLAB

Sign in to comment.

Answers (2)

Sebastian Castro
Sebastian Castro on 12 Nov 2019
Do you have a Simscape Multibody license? If you type in
>> ver
in MATLAB, does that toolbox show up?
- Sebastian

  1 Comment

mohan nakum
mohan nakum on 12 May 2020
I have same problem and yes when I type Ver, simscape multibody show up what is solution ?

Sign in to comment.


Jose Avendano Arbelaez
Jose Avendano Arbelaez on 17 Aug 2020
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 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!