Ticket #4229: writeBB.mos
File writeBB.mos, 409 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 sources binaries"); |
3 | |
4 | bb_file_path :=realpath("BouncingBall.mo"); |
5 | print("Loading BouncingBall from:"+bb_file_path); |
6 | loadFile(bb_file_path); |
7 | print("Translating Model to FMU using translateModelFMU"); |
8 | //setCommandLineOptions("--simCodeTarget=Cpp"); getErrorString(); |
9 | translateModelFMU(BouncingBall); |