Ticket #2994: script.mos

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