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

28 次查看(过去 30 天)
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'.
  12 个评论

请先登录,再进行评论。

回答(7 个)

Brian Nicholson
Brian Nicholson 2022-5-11
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 个评论

请先登录,再进行评论。


Tamilpalani
Tamilpalani 2022-9-21
移动:VBBV 2023-2-21
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 个评论

请先登录,再进行评论。


KISSHORE VARMA RAJSEGARAN
This bug is still not resolved

wissal
wissal 2023-7-31
Still no solution recommended for this issue ?

Saaya
Saaya 2023-8-1
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.

Brian Nicholson
Brian Nicholson 2022-7-11
移动:DGM 2023-2-1
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 个评论
VBBV
VBBV 2023-2-21
I think it needs to be entered in the initfcn callback function to resolve the error , as @Tamilpalani told

请先登录,再进行评论。


Sanaullah-ghous
Sanaullah-ghous 2023-12-23

类别

Help CenterFile Exchange 中查找有关 Foundation and Custom Domains 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by