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 need to address, one-by-one. 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. Set the Configuration Parameters > Diagnostics > Connectivity > Mux blocks used to create bus signals diagnostic to error.

  3. Simulate the model and address any warnings.

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

  5. Address the issues that Model Advisor identifies.

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

  7. 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 Address Classic Mode Issues by Using Simplified Mode.

More About

Was this topic helpful?