Ticket #5448: Model1Total.mo
File Model1Total.mo, 314 bytes (added by , 5 years ago) |
---|
Line | |
---|---|
1 | model Model1 |
2 | TestPackage.TestModel testModel1; |
3 | equation |
4 | testModel1.x = 2.3; |
5 | end Model1; |
6 | |
7 | package TestPackage |
8 | model TestModel |
9 | input Real x; |
10 | output Integer y; |
11 | equation |
12 | y = floor(x); |
13 | end TestModel; |
14 | end TestPackage; |
15 | |
16 | model Model1_total |
17 | extends Model1; |
18 | end Model1_total; |