Configure model with enum types for deployment
simulink.compiler.loadEnumTypes('
configures the deployment for models with enum types. Use the
modelName
')simulink.compiler.loadEnumTypes
function only if the following is true:
The simulink.compiler.configureForDeployment
function is not
used to configure the Simulink.SimulationInput
object.
Model in the deployed script or application uses enum types.
The deployed scripts or applications refer to enum types before the execution of
the sim
command.
deploytool
| exportToFMU2CS
| mcc
| sim
| simulink.compiler.configureForDeployment
| Simulink.SimulationInput