Error when I run a .bat file
Ältere Kommentare anzeigen
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 Kommentare
José-Luis
am 2 Aug. 2017
How are you running said file?
Are you using a system() call?
Asterix Legaulois
am 2 Aug. 2017
Antworten (1)
ES
am 2 Aug. 2017
Is there any reason why you dont use
!abc.bat
or
dos('abc.bat')
Kategorien
Mehr zu File Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!