Main Content

simulink.compiler.loadEnumTypes

Configure model with enum types for deployment

Description

simulink.compiler.loadEnumTypes('modelName') configures the deployment for models with enum types. Use the 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.

Input Arguments

collapse all

Name of the model, specified by a string, for which the enum types are loaded.

Introduced in R2020a