The 'Evaluate' attribute is not valid - Simscape masking
5 views (last 30 days)
Show older comments
I am trying to make a masked subsystem with an integrated Pipe (TL) block from the Simscape Fluids library. In the mask, I promote the 'Cross-sectional geometry' and 'Pipe diameter' properties. Previewing the dialog box works at this point. When changing the cross-sectional geometry in the dialog box from Circular to e.g. Annular, the mask editor gives the following error: The 'Evaluate' attribute specified for parameter 'Parameter 2' of block 'Model/Subsystem' is not valid. Looking at the Mask editor, the entire list of parameters changes. The properties are still there but all the namings are gone. Moreover, I noticed that depending on which property is loaded in 'Cross-sectional geometry', the Evaluate attribute of 'Pipe diameter' is either checked or not, and I cannot change it by clicking in the mask - it seems to be locked. I've been looking for the attributes via command line using get(gcbh), but I was not able to find a way to change the attribute. I found something in the 'DialogParameters' structure, but this is read-only and cannot be changed using set_param.
Is there a way I can get the masking working, with the ability to set both the Cross-sectional geometry as other properties like Pipe diameter?
Mask before changing cross-sectional geometry:

Mask after changing cross-sectional geometry:

0 Comments
Answers (0)
See Also
Categories
Find more on Foundation and Custom Domains 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!