Can a protected SimScape model built with ode14x fixed time step solver be referenced from an ode3 fixed time step solver top-level Simulink model?

1 view (last 30 days)
I want to re-use a build of a protected SimScape model that uses ode14x fixed time step solver, and reference it from a top-level Simulink model running in ode3 fixed time step solver. Both models have time step set to the same value (0.02s).
Now, the documentation for referencing models here shows a table that suggests that all fixed time solver types are compatible for referencing, regardless of which fixed time solver is used in each model.
However, when attempting to run the model as described above, the following error is thrown:
Detected inconsistent solvers in the model reference hierarchy. Model HPAS_prot was built with ode14x, but the top model uses ode3. Use the same solver in the top model and all referenced models
Questions:
1) Does this mean that model referencing only works if the referenced (protected) model has the exact same solver settings as the top-level model?
2) Is there any documentation page that explains the differences in compatibility betweeen unprotected models and protected models when referenced?
3) Is there a workaround to this problem other than changing the solver of the top-level model to match that of the referenced protected model?
Thanks

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!