Ensure That Changes in Data Type Definition Take Effect

When you update an enumerated data type definition for an open model, the changes do not take effect right away. To see the effects of updating a data type definition:

  1. Save the model.

  2. Close the model.

  3. Delete instances of the data type from the MATLAB® base workspace.

      Tip   To find these instances, type whos at the command prompt.

  4. Open the model.

  5. Start simulation or generate Simulink® Coder™ code.

Was this topic helpful?