With variant blocks, model must be configured before compilation starts

Hello there,
I have 2 simulinks models that run perfectly independently. However, once I merge the 2 models (1 acts as a subcomponent in the other), I get the following error: "Model has variant blocks and compilation of model tries to alter the model. With variant blocks, model must be configured before compilation starts."
The error is unspecific about which blocks are variants and which could cause the error. Furthermore, there is no compilation in this simulation.
Please note that I do use PLECS. Could you inform me how can I find these variant blocks? Thank you.
Zaki

3 comentarios

Can you share your model?
Hello Birdman, I wish I could but I can't. I can only go by descriptions for now.
Hi,
same problem I faced also. Is there any solution?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Component-Based Modeling en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 15 de Mzo. de 2018

Comentada:

el 5 de Abr. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by