A dos command problem

15 次查看(过去 30 天)
Cem TAGIT
Cem TAGIT 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