Create a standalone application for deployment outside MATLAB that does not launch a Windows command shell
Caution
This function is only supported on Windows® operating systems.
compiler.build.standaloneWindowsApplication(
creates a standalone Windows only application using a MATLAB® function, class, or app specified using AppFile
)AppFile
. The
application does not open a Windows command shell on execution, and as a result, no console output is displayed.
The generated executable has a .exe
file extension and does not include
MATLAB Runtime or an installer.
compiler.build.standaloneWindowsApplication(
creates a standalone Windows application with additional options specified using one or more name-value
arguments. Options include the executable name, version number, and icon and splash
images.AppFile
,Name,Value
)
compiler.build.standaloneWindowsApplication(
creates a standalone Windows application with additional options specified using a
opts
)compiler.build.StandaloneApplicationOptions
object
opts
. You cannot specify any other options using name-value
arguments.
This function is only supported on Windows operating systems.
The application does not open a Windows command shell on execution, and as a result, no console output is displayed.
To create a Windows standalone application from the system command prompt using this function,
use the matlab
function with the -batch
option. For
example:
matlab -batch compiler.build.standaloneWindowsApplication('myapp.mlapp')
applicationCompiler
| compiler.build.standaloneApplication
| compiler.build.StandaloneApplicationOptions
| compiler.package.installer
| mcc