How to run MATLAB executables on DOS ?

4 次查看(过去 30 天)
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 个评论
Tik Ho HUI
Tik Ho HUI 2024-10-2
移动:Bruno Luong 2024-10-2
Thanks ! I have tried it works now !
And may I ask can MTALAB code be run under Apache Server ?? If it can, then may I ask about the step ??
Aditya
Aditya 2024-10-2
[ status , cmdout ] = dos( command ) calls the operating system to execute the specified command and returns the output of the DOS command to cmdout .

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by