A dos command problem

15 visualizaciones (últimos 30 días)
Cem TAGIT
Cem TAGIT el 16 de Feb. de 2022
Respondida: Image Analyst el 16 de Feb. de 2022
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
Image Analyst el 16 de Feb. de 2022

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by