A dos command problem
Mostrar comentarios más antiguos
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);
Respuestas (1)
Image Analyst
el 16 de Feb. de 2022
0 votos
I already gave you the solution in your duplicate post:
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!