In Simscape onramp, Explore a Simscape Model error while submitting.
369 views (last 30 days)
Show older comments
ANTO SAHA on 13 Mar 2022
Commented: 煦东 on 27 Feb 2023 at 9:05
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'.
Brian Nicholson on 11 May 2022
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:
Tamilpalani on 21 Sep 2022
Moved: VBBV on 21 Feb 2023
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 on 11 Jul 2022
Moved: DGM on 1 Feb 2023
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.
VBBV on 21 Feb 2023
I think it needs to be entered in the initfcn callback function to resolve the error , as @Tamilpalani told
Find more on Nonlinear Operators 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!