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

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 Kommentare

John Rebeiro
John Rebeiro am 21 Mär. 2022
Verschoben: DGM am 1 Feb. 2023
I also got the same any solution?
João Rego
João Rego am 24 Mär. 2022
Verschoben: DGM am 1 Feb. 2023
I have the same problem. Does no one have a solution?
Josh Zagorski
Josh Zagorski am 4 Apr. 2022
Verschoben: DGM am 1 Feb. 2023
Ditto
Same error occuring, may be it is because using it in workplace or protected network
Same error. How did you fix it?
I can't find a way, so I can't complete the task.
Maksym Shylkin
Maksym Shylkin am 11 Mai 2022
Verschoben: DGM am 1 Feb. 2023
Same error, I have no clue what to do with it. Need help.
This bug is still not resolved
I also got same error kindly resolve this
wissal
wissal am 31 Jul. 2023
Verschoben: Joel Van Sickel am 10 Jun. 2024
Still no solution recommended for this issue ?
Saaya
Saaya am 1 Aug. 2023
Verschoben: Joel Van Sickel am 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
Sanaullah-ghous am 23 Dez. 2023
Verschoben: Joel Van Sickel am 10 Jun. 2024

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Brian Nicholson
Brian Nicholson am 11 Mai 2022

25 Stimmen

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 Kommentare

Looks like it helped, thank you.
it is very useful, thank you very much
And how & where do we execute this command?
in the background MATLAB workspace
How do we do that. I am using online?
Yogesh V S
Yogesh V S am 3 Aug. 2022
Bearbeitet: Yogesh V S am 3 Aug. 2022
Thank you, it's very helpful
Good work! Thanks!
Thank You So Much, it works.
Oh!!!!! Thank you very very much, you save my life !!!
obrigado
It's Correct after adding this command. Thank you for helping us...

Melden Sie sich an, um zu kommentieren.

Tamilpalani
Tamilpalani am 21 Sep. 2022
Verschoben: VBBV am 21 Feb. 2023

4 Stimmen

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
Brian Nicholson
Brian Nicholson am 11 Jul. 2022
Verschoben: DGM am 1 Feb. 2023

0 Stimmen

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 Kommentare

Marc
Marc am 16 Jul. 2022
Verschoben: DGM am 1 Feb. 2023
Works on my system, thx.
Manohar Shankar
Manohar Shankar am 15 Dez. 2022
Verschoben: DGM am 1 Feb. 2023
Thank you sir for the kind fix. It worked
I think it needs to be entered in the initfcn callback function to resolve the error , as @Tamilpalani told

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Foundation and Custom Domains finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022a

Gefragt:

am 13 Mär. 2022

Verschoben:

am 10 Jun. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by