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 件のコメント

John Rebeiro
John Rebeiro 2022 年 3 月 21 日
移動済み: DGM 2023 年 2 月 1 日
I also got the same any solution?
João Rego
João Rego 2022 年 3 月 24 日
移動済み: DGM 2023 年 2 月 1 日
I have the same problem. Does no one have a solution?
Josh Zagorski
Josh Zagorski 2022 年 4 月 4 日
移動済み: DGM 2023 年 2 月 1 日
Ditto
Daniel Brown
Daniel Brown 2022 年 4 月 8 日
Same issue.
Brian Nicholson
Brian Nicholson 2022 年 4 月 20 日
Ditto
Sankar raj R
Sankar raj R 2022 年 4 月 26 日
Same error occuring, may be it is because using it in workplace or protected network
Daniele Bertucco
Daniele Bertucco 2022 年 5 月 5 日
Same error. How did you fix it?
I can't find a way, so I can't complete the task.
Oleh Shkodzinsky
Oleh Shkodzinsky 2022 年 5 月 5 日
Same error.
Maksym Shylkin
Maksym Shylkin 2022 年 5 月 11 日
移動済み: DGM 2023 年 2 月 1 日
Same error, I have no clue what to do with it. Need help.
VBBV
VBBV 2023 年 2 月 21 日
+1
煦东
煦东 2023 年 2 月 27 日
+1
KISSHORE VARMA RAJSEGARAN
KISSHORE VARMA RAJSEGARAN 2023 年 4 月 10 日
移動済み: Joel Van Sickel 2024 年 6 月 10 日
This bug is still not resolved
Vinuta
Vinuta 2023 年 6 月 24 日
I also got same error kindly resolve this
wissal
wissal 2023 年 7 月 31 日
移動済み: Joel Van Sickel 2024 年 6 月 10 日
Still no solution recommended for this issue ?
Saaya
Saaya 2023 年 8 月 1 日
移動済み: Joel Van Sickel 2024 年 6 月 10 日
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 2023 年 12 月 23 日
移動済み: Joel Van Sickel 2024 年 6 月 10 日

サインインしてコメントする。

回答 (3 件)

Brian Nicholson
Brian Nicholson 2022 年 5 月 11 日

25 投票

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 件のコメント

Maksym Shylkin
Maksym Shylkin 2022 年 5 月 11 日
Looks like it helped, thank you.
Huanran Zhang
Huanran Zhang 2022 年 6 月 8 日
it is very useful, thank you very much
Aaron Harford
Aaron Harford 2022 年 7 月 11 日
And how & where do we execute this command?
Sam
Sam 2022 年 7 月 15 日
in the background MATLAB workspace
Brendan Ricketts
Brendan Ricketts 2022 年 7 月 15 日
How do we do that. I am using online?
Yogesh V S
Yogesh V S 2022 年 8 月 3 日
編集済み: Yogesh V S 2022 年 8 月 3 日
Thank you, it's very helpful
Nenad Petrovic
Nenad Petrovic 2022 年 9 月 5 日
Good work! Thanks!
RAVI PRAKASH MAHOBIA
RAVI PRAKASH MAHOBIA 2023 年 1 月 14 日
Thank You So Much, it works.
Maurício
Maurício 2023 年 1 月 31 日
Oh!!!!! Thank you very very much, you save my life !!!
obrigado
RUSHIKESH
RUSHIKESH 2023 年 4 月 3 日
It's Correct after adding this command. Thank you for helping us...

サインインしてコメントする。

Tamilpalani
Tamilpalani 2022 年 9 月 21 日
移動済み: VBBV 2023 年 2 月 21 日

4 投票

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 件のコメント

AKSHATHA V KULKARNI
AKSHATHA V KULKARNI 2023 年 7 月 6 日
This worked.
Thank you
Sivakumar
Sivakumar 2023 年 7 月 16 日
Thanks
practice
practice 2023 年 7 月 22 日
Thank you so much
Fredy Santiago Laverde Contreras
Fredy Santiago Laverde Contreras 2023 年 8 月 20 日
Thank you so much :,D

サインインしてコメントする。

Brian Nicholson
Brian Nicholson 2022 年 7 月 11 日
移動済み: DGM 2023 年 2 月 1 日

0 投票

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 件のコメント

Marc
Marc 2022 年 7 月 16 日
移動済み: DGM 2023 年 2 月 1 日
Works on my system, thx.
Manohar Shankar
Manohar Shankar 2022 年 12 月 15 日
移動済み: DGM 2023 年 2 月 1 日
Thank you sir for the kind fix. It worked
VBBV
VBBV 2023 年 2 月 21 日
I think it needs to be entered in the initfcn callback function to resolve the error , as @Tamilpalani told

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeFoundation and Custom Domains についてさらに検索

製品

リリース

R2022a

質問済み:

2022 年 3 月 13 日

移動済み:

2024 年 6 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by