How to run MATLAB executables on DOS ?

조회 수: 4 (최근 30일)
Tik Ho HUI
Tik Ho HUI 2024년 10월 2일
댓글: Aditya 2024년 10월 2일
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