To deploy MATLAB® functions, the compiler performs these tasks:
Analyzes files for dependencies using a dependency analysis function. Dependencies affect deployability and originate from functions called by the file. Deployability is affected by:
File type — MATLAB, Java®, MEX, and so on.
File location — MATLAB, MATLAB toolbox, user code, and so on.
For more information about how the compiler does dependency analysis, see Dependency Analysis.
Validates MEX-files. In particular, mexFunction
entry
points are verified.
For more details about MEX-file processing, see MEX-Files, DLLs, or Shared Libraries.
Creates a deployable archive from the input files and their dependencies.
For more details about deployable archives see Deployable Archive.
Generates target-specific wrapper code.
Generates target-specific binary package.
For library targets such as C++ shared libraries, Java packages, or .NET assemblies, the compiler invokes the required third-party compiler.