A dos command problem
Show older comments
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);
Answers (1)
Image Analyst
on 16 Feb 2022
0 votes
I already gave you the solution in your duplicate post:
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!