How to format a matlab program to be useable by the application compiler?
1 view (last 30 days)
Allen on 1 Mar 2021
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.
RonE on 2 Apr 2021
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.