Error using RoboticsPlayground app while running a sample simulation

6 vues (au cours des 30 derniers jours)
Kartik Upadhyay
Kartik Upadhyay le 8 Oct 2019
Modifié(e) : Henghua Shen le 28 Mar 2022
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 commentaires
Kartik Upadhyay
Kartik Upadhyay le 15 Oct 2019
I guess the app uses an older version of MATLAB because I use the latest version of MATLAB
metlej houssein
metlej houssein le 14 Mai 2020
did you find any solutions for that, I have the same problem

Connectez-vous pour commenter.

Réponses (3)

Jose Avendano Arbelaez
Jose Avendano Arbelaez le 17 Août 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.
  1 commentaire
Joseph Smith
Joseph Smith le 30 Mai 2021
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.

Connectez-vous pour commenter.


Sebastian Castro
Sebastian Castro le 12 Nov 2019
Do you have a Simscape Multibody license? If you type in
>> ver
in MATLAB, does that toolbox show up?
- Sebastian
  1 commentaire
mohan nakum
mohan nakum le 12 Mai 2020
I have same problem and yes when I type Ver, simscape multibody show up what is solution ?

Connectez-vous pour commenter.


Cristina Manuela Peixoto Santos
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 commentaire
Henghua Shen
Henghua Shen le 22 Fév 2022
Modifié(e) : Henghua Shen le 28 Mar 2022
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.
And then follow the solution 1 from Jose Avendano Arbelaez on 17 Aug 2020
  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.
It works now~

Connectez-vous pour commenter.

Catégories

En savoir plus sur Troubleshooting dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by