standalone applications -凯发k8网页登录
you can deploy matlab code as a standalone application using matlab compiler™ and share it royalty-free with other users. a standalone application can be an app designed using matlab app designer or guide, or it can be a command-line executable. the target system running a standalone application requires a matlab runtime installation to run the application. it does not require a licensed copy of matlab. for details, see install and configure matlab runtime.
to create standalone applications from simulink® simulations, use simulink compiler.
standalone applications can be created using the function, or the
command, or the
application compiler
app.
apps
application compiler | package matlab programs for deployment as standalone applications |
functions
topics
create standalone applications
- create standalone application from matlab function
this example shows how to package a matlab function into a standalone application using thecompiler.build.standaloneapplication
function.
try an example on creating a standalone application using the application compiler app.
deploy and install a generated application.
customize applications
- customize an application
how to customize the look and feel of the installer generated by the compiler app.
including support packages when packaging matlab applications.
describes the steps you must follow to run applications using a network install of matlab runtime.
include and access additional files in packaged applications.
package to docker
package a matlab standalone application into a docker® image.
packaging
quick reference table of matlab compiler options, listed alphabetically.
quick reference table of matlab compiler options, grouped by functionality.
parallel computing
this example shows how to deploy a parallel-enabled matlab function as a standalone application using a cluster profile.
pass a cluster profile to an application that uses the parallel computing toolbox™.
mac os x
add matlab runtime to the mac application launcher installation area.
dependency analysis
matlab compiler uses a dependency analysis function to find and include files.
matlab compiler uses the matlab search path to analyze dependencies.
when you compile matlab functions containing mex-files, ensure that the dependency analyzer can find them.
learn the steps performed by matlab compiler for deployment.
best practices
write flexible matlab code that can be packaged and deployed.
how to run standalone applications that use arguments.
theloadlibrary
function in matlab allows you to load shared library into matlab.
include and access additional files in packaged applications.
troubleshooting
refer to functions not able to be compiled with matlab compiler or matlab compiler sdk™.
matlab compiler has limitations regarding what can be compiled.
if you encounter errors testing your application, ensure matlab runtime is installed correctly.
diagnose application failure during end-user deployment.