Ticket #5536: EnhancementDropDownChoices1.mo

File EnhancementDropDownChoices1.mo, 506 bytes (added by anonymous, 7 years ago)

Minimal example

Line 
1package EnhancementDropDownChoices1
2 model Model1
3 parameter String Option = "Option 1" annotation(choices(choice = "Option 1", choice = "Option 2", choice = "Option 3"));
4
5 parameter Boolean test1;
6 equation
7
8 end Model1;
9
10 model testModel1
11 BugDropDown.Model1 model11(test1 = false) annotation(
12 Placement(visible = true, transformation(origin = {2, 4}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
13 equation
14
15 end testModel1;
16end EnhancementDropDownChoices1;