Variant errors when upgrading the MATLAB release
Show older comments
I have upgraded my Simulink models to the latest release. When I simulate the upgraded models, the following errors show up:
Variant control '<object name>' of variant block '<block name>' must be a condition expression or name of a Simulink.Variant object in the global scope workspace of the model. Ensure that the condition does not match the model name.
Error evaluating properties of Simulink.Variant object '<object name>' in workspace 'base' (used by block '<block name>')
Caused by: The variant condition <conditions> on the block '<block name> originate from different workspaces. This is not a supported workflow.
Accepted Answer
More Answers (0)
Categories
Find more on Manage Variant Modeling Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!