I have been doing the simscape onramp course and it keeps giving me the error "unrecognisedfunction or variable". How do I solve this?
3 ビュー (過去 30 日間)
古いコメントを表示
Unrecognized function or variable 'simmechanics.sli.internal.register_datatypes'.
6 件のコメント
回答 (1 件)
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!