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 commentaires

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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

Produits

Question posée :

le 15 Mar 2018

Commenté :

le 5 Avr 2019

Community Treasure Hunt

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

Start Hunting!

Translated by