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>' used by block '<block name>' must be a condition expression or the name of a Simulink.VariantExpression object defined in the data sources used by the block diagram '<block diagram name>'.
Error evaluating properties of Simulink.VariantExpression 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!