Ticket #2994: script.mos
File script.mos, 288 bytes (added by , 10 years ago) |
---|
Line | |
---|---|
1 | loadModel(Modelica); |
2 | getErrorString(); |
3 | loadFile("M.mo"); |
4 | getErrorString(); |
5 | simulate(M); |
6 | getErrorString(); |
7 | plot(constantvoltage1.V); |
8 | getErrorString(); |
9 | setInitXmlStartValue("M_init.xml", "constantvoltage1.V", "2", "M_init.xml"); |
10 | getErrorString(); |
11 | plot(constantvoltage1.V); |
12 | getErrorString(); |