Error when I run a .bat file
Mostrar comentarios más antiguos
Hello. When i try to run a .bat file from matlab, an error appears in a cmd window: "terminate called after throwing an instance of 'std::logic_error' what(): Could not find user home direct" What should I do to correct this ? PS: when I run it from the cmd window, every thing works correctly. Thanks for your help.
2 comentarios
José-Luis
el 2 de Ag. de 2017
How are you running said file?
Are you using a system() call?
Asterix Legaulois
el 2 de Ag. de 2017
Respuestas (1)
ES
el 2 de Ag. de 2017
Is there any reason why you dont use
!abc.bat
or
dos('abc.bat')
1 comentario
Asterix Legaulois
el 2 de Ag. de 2017
Categorías
Más información sobre File Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!