Clear Filters
Clear Filters

I have been doing the simscape onramp course and it keeps giving me the error "unrecognisedfunction or variable". How do I solve this?

2 views (last 30 days)
Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.
  6 Comments

Sign in to comment.

Answers (1)

Govind KM
Govind KM on 22 Jun 2023
A workaround for this issue is to specify the path directly. This can be done by executing the following command in the MATLAB Online command window(As you are using the online version):
addpath(fullfile(matlabroot,'toolbox/physmod/sm/sli/m'))

Categories

Find more on Startup and Shutdown 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!