Problem with Power Systems Simulation Onramp

15 次查看(过去 30 天)
I tried to do the training: Power Systems Simulation Onramp, but when I submited my circuit fort the first Task in the Introduction, the diagnostic viewer showed me this error message:
Error :Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.
What can I do to correct this?
The MatLAB version that I use is 2023a do I need the 2023b?
Thank you!

回答(1 个)

atharva
atharva 2023-10-18
Hey Mathieu,
I understand you are facing the error "simmechanics.sli.internal.register_datatypes".
This error is triggered by an unexpected call to a Multibody function within the task.
Please try running the following code on your MATLAB Command Line-
addpath(fullfile(matlabroot,'toolbox/physmod/sm/sli/m'));
I hope this helps!

类别

Help CenterFile Exchange 中查找有关 Simscape 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by