Problem with Power Systems Simulation Onramp

14 views (last 30 days)
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!

Answers (1)

atharva
atharva on 18 Oct 2023
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!

Categories

Find more on Simscape 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!