Borrar filtros
Borrar filtros

matlab executable file

3 visualizaciones (últimos 30 días)
matar maoz
matar maoz el 11 de Jun. de 2011
Hello.
Can I generate an exe file that will launch (F5) my pre- written code?
when I say "Executable file", I mean an Icon on my desktop that will do the same as if I've got into matlab, opened my pre- written & saved code, and pressed F5.
Does it matter if my code calls another function that I wrote?
Matar
  5 comentarios
Fangjun Jiang
Fangjun Jiang el 13 de Jun. de 2011
Then follow the topic I gave in my answer. You can compile your m-file into an .exe file if you have the toolbox.
matar maoz
matar maoz el 14 de Jun. de 2011
Image Analyst, thanke you. You were very helpful.
How can I mark you'r comment as an accepted answer?
Matar

Iniciar sesión para comentar.

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 12 de Jun. de 2011
You mean when you press F5 in M-editor, your M-script will run? You need to have the Matlab Compiler toolbox to compile M-file to an executable.
help mcc
help deploytool

Más respuestas (1)

Walter Roberson
Walter Roberson el 12 de Jun. de 2011
Yes, you could probably write something that used the Java Robot Class.

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by