Error using smimport_implementation
11 次查看(过去 30 天)
显示 更早的评论
I am trying to import an example model in simulink. The command line is:
smimport('sm_robot');
However, this error is returned:
Error using smimport_implementation Workspace for block diagram 'sm_robot' was not loaded because an error occurred while loading the MATLAB-file 'C:\Program Files\MATLAB\R2016a\toolbox\physmod\sm\smdemos\import\robot\sm_robot_DataFile.m'.
I searched, and the sm_robot_DataFile.m is no where to be found.
Is there a fresh download available or maybe I am not importing correctly?
Thanks in advance.
5 个评论
Yuhao Zhou
2020-6-19
- create another new folder out of matlab application,
- move all the cad files into the new folder,
- then use 'cd' to change the path into that folder.
- do the 'smimport' again.
It works for me.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!