This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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?