In Simscape onramp, Explore a Simscape Model error while submitting.
조회 수: 15 (최근 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'.
댓글 수: 16
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.
답변 (3개)
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
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
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
2023년 2월 21일
I think it needs to be entered in the initfcn callback function to resolve the error , as @Tamilpalani told
참고 항목
카테고리
Help Center 및 File Exchange에서 Troubleshooting에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!