main content

standalone applications -凯发k8网页登录

create standalone applications from matlab® functions

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 compilerpackage matlab programs for deployment as standalone applications

functions

open a list of application deployment apps
compile matlab functions for deployment
create a deployment script from a matlab compiler prj file
create standalone application for deployment outside matlab
create a standalone application for deployment outside matlab that does not launch a windows command shell
options for building standalone applications
compiler build results object
create an installer for files generated by matlab compiler
options for creating matlab compiler package installers
create a docker image for files generated by matlab compiler on linux operating systems
create a docker options object
determine support packages used by files
location of files related to deployed application
determine whether code is running in deployed or matlab mode
test if code is running during compilation process (using mcc)
return matlab runtime version number that matches matlab version
pragma to help matlab compiler locate functions called through feval, eval, handle graphics callback, or objects loaded from mat-files
ignore file or function dependencies during matlab compiler dependency analysis

topics

create standalone applications

  • create standalone application from matlab function
    this example shows how to package a matlab function into a standalone application using the compiler.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.

  • the loadlibrary 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.
网站地图