main content

package matlab functions -凯发k8网页登录

package matlab® functions for use in applications coded in other languages

matlab compiler sdk™ enables you to build deployable archives in a target language that include matlab functions. you can build these artifacts at the matlab command line using any of the compiler.build family of functions, or specify additional compile time options using mcc. you can also package the artifact into an installer that installs the necessary files and matlab runtime libraries onto the target machine. matlab compiler sdk includes two deploytool apps and the command line function compiler.package.installer for this purpose.

to incorporate a deployable archive into an application in the target language, you can use matlab compiler sdk generated sample files or create your own application. distribute the application to end users along with matlab runtime, which contains libraries necessary to run the code.

apps

package matlab programs for deployment as shared libraries and components
package matlab programs for deployment to matlab production server

functions

open a list of application deployment apps
create a deployment script from a matlab compiler prj file
create com component for deployment outside matlab
create c shared library
create c shared library
create .net assembly for deployment outside matlab
create java package for deployment outside matlab
create python package for deployment outside matlab
create an archive for deployment to matlab production server or docker
create microsoft excel add-in for matlab production server
create a microservice docker image using files generated by matlab compiler sdk
compile matlab functions for deployment
compile and link source files against matlab generated shared libraries
create an installer for files generated by matlab compiler
options for creating matlab compiler package installers
determine whether code is running in deployed or matlab mode
test if code is running during compilation process (using mcc)
location of files related to deployed application
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
stream figure as byte array encoded in specified format
retrieve matlab array value associated with a given key
associate matlab data value with a key
query system registry about com component created with matlab compiler sdk

topics

packaging


  • learn the steps performed by matlab compiler™ for deployment.

  • write flexible matlab code that can be packaged and deployed.

  • include and access additional files in packaged applications.

  • dealing with matlab functions that carry state.

  • how to customize the look and feel of the installer generated by the compiler app.

  • including support packages when packaging matlab applications.

deployment and integration


  • when matlab compiler or matlab compiler sdk creates an application or shared library, it bundles the content into an embedded deployable archive, which is known as the ctf archive.

  • distribute files generated by matlab compiler sdk and integrate them in an application.

  • descriptions for files generated after packaging matlab functions.

  • test application before deployment and cache data in application archives deployed to matlab production server™.

limitations and restrictions


  • matlab compiler has limitations regarding what can be compiled.

  • refer to functions not able to be compiled with matlab compiler or matlab compiler sdk.

  • issues involving the mbuild utility and creating standalone applications.

  • list of supported and unsupported matlab data types.
网站地图