matlab executable file
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Fangjun Jiang
2011년 6월 13일
Then follow the topic I gave in my answer. You can compile your m-file into an .exe file if you have the toolbox.
채택된 답변
Fangjun Jiang
2011년 6월 12일
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
댓글 수: 0
추가 답변 (1개)
Walter Roberson
2011년 6월 12일
Yes, you could probably write something that used the Java Robot Class.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!