How to run MATLAB executables on DOS ?
2 views (last 30 days)
Show older comments
I would like to run an executable on DOS which generates a image file, but seems nothing comes out. The program is as follows :
A = rand(500);
imwrite(A, "Testing.png");
You may also refer to the attachment for reference !
3 Comments
Aditya
on 2 Oct 2024
[ status , cmdout ] = dos( command ) calls the operating system to execute the specified command and returns the output of the DOS command to cmdout .
Answers (0)
See Also
Categories
Find more on C Shared Library Integration 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!