A dos command problem
Afficher commentaires plus anciens
the code below does not work in Matlab but when I execute it in cmd window it works. why?
command=[dir(1) ': & cd "' dir '" & "' filename '.bat"'];
err=dos(command);
Réponses (1)
Image Analyst
le 16 Fév 2022
0 votes
I already gave you the solution in your duplicate post:
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!