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.

Convert from Classic to Simplified Initialization Mode

If you switch the initialization mode from classic to simplified mode, you can encounter several issues that you must fix. For most models, the following approach helps you to address conversion issues more efficiently.

  1. Save the existing model and simulation results for the model.

    Because you might need to make several changes to your model during the conversion process, it is helpful to have the original model for reference and for comparing simulation results.

  2. Simulate the model and address any warnings.

  3. In the Model Advisor, in the Simulink® checks section, run the checks in the folder Migrating to Simplified Initialization Mode Overview.

  4. Address the issues that Model Advisor identifies.

  5. Simulate the model to make sure that there are no errors.

  6. Rerun the Model Advisor checks in the folder Migrating to Simplified Initialization Mode Overview check to confirm that the modified model addresses the issues related to initialization.

For examples of models that have been converted from classic initialization mode to simplified initialization mode, see Classic Initialization Issues.

Blocks to Consider

Discrete-Time Integrator Blocks

Discrete-Time Integrator block behaves differently in simplified mode than it does in classic mode. The changes for simplified mode promote more robust and consistent model behavior. For details, see Behavior in Simplified Initialization Mode in the Discrete-Time Integrator block reference documentation.

Library Blocks

Simulink creates a library assuming that classic mode is in effect. If you use a library block that is affected by simplified mode in a model that uses simplified mode, then use the Model Advisor to identify changes you must make so that the library block works with simplified mode.

Related Topics

Was this topic helpful?