Ticket #4229: writeBB.mos

File writeBB.mos, 409 bytes (added by Bernhard Thiele, 8 years ago)
Line 
1print("Deleting tmp files from previous runs");
2system("rm -rf *.h *.o *.o *.json *.xml *.libs *.log *.makefile sources binaries");
3
4bb_file_path :=realpath("BouncingBall.mo");
5print("Loading BouncingBall from:"+bb_file_path);
6loadFile(bb_file_path);
7print("Translating Model to FMU using translateModelFMU");
8//setCommandLineOptions("--simCodeTarget=Cpp"); getErrorString();
9translateModelFMU(BouncingBall);