Error using smimport_implementation
Mostrar comentarios más antiguos
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 comentarios
ahmed khaled
el 3 de En. de 2017
same problem
Matthew Vyletel
el 3 de Jul. de 2017
I had it working.. Now I Have the same issue:/
Matthew Vyletel
el 3 de Jul. de 2017
Fixed! Search "matlab cd syntax" on google, it'll walk you through it.
Alain McGregor
el 2 de Mayo de 2019
did u ever work out what happened ?
Yuhao Zhou
el 19 de Jun. de 2020
- 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.
Respuestas (1)
Xianjin Zhu
el 30 de Mzo. de 2019
1 voto
same problem.
add file path to matlab
the datafile.m
Categorías
Más información sobre Downloads en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!