Error when I run a .bat file
Mostra commenti meno recenti
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 Commenti
José-Luis
il 2 Ago 2017
How are you running said file?
Are you using a system() call?
Asterix Legaulois
il 2 Ago 2017
Risposte (1)
ES
il 2 Ago 2017
Is there any reason why you dont use
!abc.bat
or
dos('abc.bat')
1 Commento
Asterix Legaulois
il 2 Ago 2017
Categorie
Scopri di più su File Operations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!