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'.
1 个评论
Govind KM
2023-6-21
Could you give more details about which task or section of the course you are getting this error in? Sharing your code would be helpful as well.
回答(2 个)
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):
addpath(fullfile(matlabroot,'toolbox/physmod/sm/sli/m'))
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!