In Simscape onramp, Explore a Simscape Model error while submitting.
Show older comments
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 Comments
John Rebeiro
on 21 Mar 2022
Moved: DGM
on 1 Feb 2023
I also got the same any solution?
Josh Zagorski
on 4 Apr 2022
Moved: DGM
on 1 Feb 2023
Ditto
Daniel Brown
on 8 Apr 2022
Same issue.
Brian Nicholson
on 20 Apr 2022
Ditto
Sankar raj R
on 26 Apr 2022
Same error occuring, may be it is because using it in workplace or protected network
Daniele Bertucco
on 5 May 2022
Same error. How did you fix it?
I can't find a way, so I can't complete the task.
Oleh Shkodzinsky
on 5 May 2022
Same error.
Maksym Shylkin
on 11 May 2022
Moved: DGM
on 1 Feb 2023
Same error, I have no clue what to do with it. Need help.
VBBV
on 21 Feb 2023
+1
煦东
on 27 Feb 2023
+1
KISSHORE VARMA RAJSEGARAN
on 10 Apr 2023
Moved: Joel Van Sickel
on 10 Jun 2024
This bug is still not resolved
Vinuta
on 24 Jun 2023
I also got same error kindly resolve this
wissal
on 31 Jul 2023
Moved: Joel Van Sickel
on 10 Jun 2024
Still no solution recommended for this issue ?
Saaya
on 1 Aug 2023
Moved: Joel Van Sickel
on 10 Jun 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
on 23 Dec 2023
Moved: Joel Van Sickel
on 10 Jun 2024

Answers (3)
Brian Nicholson
on 11 May 2022
25 votes
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 Comments
Maksym Shylkin
on 11 May 2022
Looks like it helped, thank you.
Huanran Zhang
on 8 Jun 2022
it is very useful, thank you very much
Aaron Harford
on 11 Jul 2022
And how & where do we execute this command?
Sam
on 15 Jul 2022
in the background MATLAB workspace
Brendan Ricketts
on 15 Jul 2022
How do we do that. I am using online?
Yogesh V S
on 3 Aug 2022
Edited: Yogesh V S
on 3 Aug 2022
Thank you, it's very helpful
Nenad Petrovic
on 5 Sep 2022
Good work! Thanks!
RAVI PRAKASH MAHOBIA
on 14 Jan 2023
Thank You So Much, it works.
Maurício
on 31 Jan 2023
Oh!!!!! Thank you very very much, you save my life !!!
obrigado
RUSHIKESH
on 3 Apr 2023
It's Correct after adding this command. Thank you for helping us...
Tamilpalani
on 21 Sep 2022
Moved: VBBV
on 21 Feb 2023
4 votes
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 Comments
AKSHATHA V KULKARNI
on 6 Jul 2023
This worked.
Thank you
Sivakumar
on 16 Jul 2023
Thanks
practice
on 22 Jul 2023
Thank you so much
Fredy Santiago Laverde Contreras
on 20 Aug 2023
Thank you so much :,D
Brian Nicholson
on 11 Jul 2022
Moved: DGM
on 1 Feb 2023
0 votes
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 Comments
Manohar Shankar
on 15 Dec 2022
Moved: DGM
on 1 Feb 2023
Thank you sir for the kind fix. It worked
VBBV
on 21 Feb 2023
I think it needs to be entered in the initfcn callback function to resolve the error , as @Tamilpalani told
Categories
Find more on Foundation and Custom Domains in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!