A dos command problem

조회 수: 15 (최근 30일)
Cem TAGIT
Cem TAGIT 2022년 2월 16일
답변: Image Analyst 2022년 2월 16일
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);

답변 (1개)

Image Analyst
Image Analyst 2022년 2월 16일

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by