Can %par textString expressions be used as literal expressions in DynamicSelect? #3573
Labels
clarification
Specification of feature is unclear, but not incorrect
Milestone
Section 18.6.5.5 defines the meaning of Text annotations including "%" in textString, in particular
while Section 18.6.6, which defines DynamicSelect, reads:
Consider now the following annotation:
annotation(Icon(graphics = {Text(textString=DynamicSelect("%x_start", String(x))}));
where
x_start
is a parameter. On the one hand,"x_start"
is a literal String expression. On the other hand, it clearly refers to a parameter value, so it's not really literal.How should this case be interpreted?
The text was updated successfully, but these errors were encountered: