SAVEUsagesave (file=”string”) Description
Example |
||||
# Create a model & do a simulation m = CreateStewartPlatform (output=”Stewart-Platform”) m.simulate (type="DYNAMICS", end=1.77, dtout=0.01, returnResults=True)
# Save the results at time t=1.77 m.save (file="Stewart-Platform-1.77”)
# Continue the simulation to t=2 and save again m.simulate (type="DYNAMICS", end=2, dtout=0.01, returnResults=True)
# Save the results at time t=2.00 m.save (file="Stewart-Platform-2.00”) |