A dos command problem

15 Ansichten (letzte 30 Tage)
Cem TAGIT
Cem TAGIT am 16 Feb. 2022
Beantwortet: Image Analyst am 16 Feb. 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);

Antworten (1)

Image Analyst
Image Analyst am 16 Feb. 2022

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by