Skip to Main Content Skip to Search
Product Documentation

Ensuring 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.

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS