A dos command problem

15 vues (au cours des 30 derniers jours)
Cem TAGIT
Cem TAGIT le 16 Fév 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);

Réponses (1)

Image Analyst
Image Analyst le 16 Fév 2022

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by