Ticket #4229: readBB.mos
File readBB.mos, 439 bytes (added by , 8 years ago) |
---|
Line | |
---|---|
1 | print("Deleting tmp files from previous runs"); |
2 | system("rm -rf *.h *.o *.o *.json *.xml *.libs *.log *.makefile DrumBoiler_* sources binaries"); |
3 | |
4 | bb_fmu_file_path := realpath("BouncingBall.fmu"); |
5 | print("Reading BouncingBall FMU from " + bb_fmu_file_path); |
6 | imported_fmu_mo_file := importFMU("BouncingBall.fmu"); |
7 | loadFile(imported_fmu_mo_file); |
8 | print("Simulating loaded FMU"); |
9 | simulate(BouncingBall_me_FMU, stopTime=3.0,outputFormat="csv"); |