slxcunpack
Unpack simulation and code generation targets from Simulink cache file
Since R2020b
Description
unpacks the simulation and code generation artifacts from the Simulink® cache file specified by fileinfo
= slxcunpack(filename
)filename
for the current
platform, MATLAB® release, and compiler, when applicable. Code generation artifacts must apply
to the current system target file and folder configuration.
When using this function, consider these limitations:
Do not use this function during model callbacks, model updates, simulation, or code generation. This function loads the model associated with the Simulink cache file.
Do not use this function as part of asynchronous functions, such as
parfor
andparfeval
.The contents of the Simulink cache file might be out of date. Simulation and code generation can update the artifacts on disk and in the Simulink cache file.
specifies options using one or more name-value arguments.fileinfo
= slxcunpack(filename
,Name=Value
)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2020bSee Also
Functions
Model Settings
- Simulation cache folder | Code generation folder | Code generation folder structure | System target file (Simulink Coder)