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

7 次查看(过去 30 天)
Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.

回答(2 个)

shane shitanda
shane shitanda 2023-6-21
The error comes from the first task. When I press submit, it gives me the error I stated above.
Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.
And yet I havent even edited the model.
  3 个评论


Govind KM
Govind KM 2023-6-22
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):


Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by