How to format a matlab program to be useable by the application compiler?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to move one of my existing programs and turn it into a standalone executable, but I'm unsure how to approach this. I am using the application compiler, but my question is, does the program need to be operated through a GUI interface?
댓글 수: 0
답변 (2개)
Allen
2021년 3월 1일
It depending on how your code is written and your intentions for using it as an executable. Mostly likely you will need to have some form of GUI interface. For example a file selection/browser window or an input dialog window.
댓글 수: 0
RonE
2021년 4월 2일
No you don't need a GUI. Mathworks has their 'magicsquare' example on several different pages, such as here: https://www.mathworks.com/help/compiler/create-and-install-a-standalone-application-from-matlab-code.html
The application is built from a single function. The user runs it by running the executable, by typing 'magicsquare 5' for example from a Windows command prompt.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deploy to C++ Applications Using mwArray API (C++03)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!