Ticket #5448: Model1Total.mo

File Model1Total.mo, 314 bytes (added by Arinomo <trista.arinomo@…>, 5 years ago)

Save Total Model

Line 
1model Model1
2 TestPackage.TestModel testModel1;
3equation
4 testModel1.x = 2.3;
5end Model1;
6
7package TestPackage
8 model TestModel
9 input Real x;
10 output Integer y;
11 equation
12 y = floor(x);
13 end TestModel;
14end TestPackage;
15
16model Model1_total
17 extends Model1;
18end Model1_total;