How to run MATLAB executables on DOS ?

4 visualizaciones (últimos 30 días)
Tik Ho HUI
Tik Ho HUI el 2 de Oct. de 2024
Comentada: Aditya el 2 de Oct. de 2024
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 comentarios
Tik Ho HUI
Tik Ho HUI el 2 de Oct. de 2024
Movida: Bruno Luong el 2 de Oct. de 2024
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 el 2 de Oct. de 2024
[ status , cmdout ] = dos( command ) calls the operating system to execute the specified command and returns the output of the DOS command to cmdout .

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by