matlab executable file
Mostrar comentarios más antiguos
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
praveen
el 11 de Jun. de 2011
you want an exe file to press F5 (click on run)?
or you want to convert your code to an executable file?
Image Analyst
el 12 de Jun. de 2011
I agree with the others that your question is confusing and most likely does not describe what you really want to do. However, making the very unlikely assumption that you meant exactly what you wrote, you can make an executable (in any language you want, for example VB, C#, or Java) that can control MATLAB via the ActiveX interface. For more info, see this newsgroup thread:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/305831
matar maoz
el 12 de Jun. de 2011
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
el 14 de Jun. de 2011
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 12 de Jun. de 2011
0 votos
Yes, you could probably write something that used the Java Robot Class.
Categorías
Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!