MATLAB Answers

With variant blocks, model must be configured before compilation starts

4 views (last 30 days)
Zaki
Zaki on 15 Mar 2018
Commented: Sahin Sahin on 5 Apr 2019
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 Comments

Zaki
Zaki on 15 Mar 2018
Hello Birdman, I wish I could but I can't. I can only go by descriptions for now.

Sign in to comment.

Answers (0)


Translated by