compiler.runtime.customInstaller
Create a MATLAB Runtime installer for the specified files generated by MATLAB Compiler
Since R2024b
Syntax
Description
compiler.runtime.customInstaller(
creates a MATLAB® Runtime installer with a minimal size footprint that installs only the MATLAB Runtime components required to run the specified artifacts created with MATLAB
Compiler™ or MATLAB
Compiler SDK™. You specify the artifacts using installerName
, results
)results
, which is a vector
of one or more compiler.build.Results
objects created by any
compiler.build
function.
compiler.runtime.customInstaller(
creates a MATLAB Runtime installer using a list of installerName
, filepath
)requiredMCRProducts.txt
files
generated by MATLAB
Compiler.
compiler.runtime.customInstaller(___,
creates a MATLAB Runtime installer with additional options specified as one or more name-value
arguments. Options include the output folder, package type, and runtime delivery
method.Name=Value
)
Examples
Input Arguments
Name-Value Arguments
Tips
The installer created by this function installs a subset of MATLAB Runtime components with a minimal size footprint. To download the full MATLAB Runtime installer, see
compiler.runtime.download
.If you use multiple installers created by this function, MATLAB Runtime is updated to contain the minimal subset of components across all of the installers. This means that you can run multiple MATLAB Compiler generated artifacts with the same instance of MATLAB Runtime by using custom installers created from each build.
The installer created by this function does not install your MATLAB Compiler generated artifacts. To create an installer for packaged MATLAB code, see
compiler.package.installer
.