In Simscape onramp, Explore a Simscape Model error while submitting.

17 vues (au cours des 30 derniers jours)
ANTO SAHA
ANTO SAHA le 13 Mar 2022
In Simscape onramp through online, at section "Explore a Simscape Model" while submitting that shows the following error,
Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.
  16 commentaires
Saaya
Saaya le 1 Août 2023
Déplacé(e) : Joel Van Sickel le 10 Juin 2024
I am getting the same error and none of the solutions mentioned above are working for me. MATHWORKS please fix the bug ASAP or please provide with some proper working solution.
Sanaullah-ghous
Sanaullah-ghous le 23 Déc 2023
Déplacé(e) : Joel Van Sickel le 10 Juin 2024

Connectez-vous pour commenter.

Réponses (3)

Brian Nicholson
Brian Nicholson le 11 Mai 2022
I got the following reply...I am writing in reference to your Technical Support Case #05487915 regarding 'SimScape On-Ramp Online Course Bug?'.
This issue is currently under investigation. The workaround is to specify the path directly. This can be done by executing the following command:
addpath(fullfile(matlabroot,'toolbox/physmod/sm/sli/m'))
  10 commentaires
Maurício
Maurício le 31 Jan 2023
Oh!!!!! Thank you very very much, you save my life !!!
obrigado
RUSHIKESH
RUSHIKESH le 3 Avr 2023
It's Correct after adding this command. Thank you for helping us...

Connectez-vous pour commenter.


Tamilpalani
Tamilpalani le 21 Sep 2022
Déplacé(e) : VBBV le 21 Fév 2023
Possible soultion: Right click "CircuitSimulationOnramp" window then go to Model Properties then go to "Callbacks" then select "InitFcn*" and key in following statement in Model initialization function window to resolve the error addpath(fullfile(matlabroot,'toolbox/physmod/sm/sli/m')
Check for screenshot attached
  4 commentaires
practice
practice le 22 Juil 2023
Thank you so much
Fredy Santiago Laverde Contreras
Thank you so much :,D

Connectez-vous pour commenter.


Brian Nicholson
Brian Nicholson le 11 Juil 2022
Déplacé(e) : DGM le 1 Fév 2023
I entered addpath(fullfile(matlabroot,'toolbox/physmod/sm/sli/m')) on what I presume is the Matlab command line (though I am new to Matlab and this may not be what it is called), next to the two >> symbols.
  3 commentaires
Manohar Shankar
Manohar Shankar le 15 Déc 2022
Déplacé(e) : DGM le 1 Fév 2023
Thank you sir for the kind fix. It worked
VBBV
VBBV le 21 Fév 2023
I think it needs to be entered in the initfcn callback function to resolve the error , as @Tamilpalani told

Connectez-vous pour commenter.

Catégories

En savoir plus sur Troubleshooting dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by