.SAVESTATE — Save Transient Operating Point
Syntax:
.savestate <statefilename> [time=<value>]
This command writes a state file to disk that is reloaded with a .loadstate command in a subsequent simulation. The saved state file contains the complete state of all of the components in the simulation, stored in a proprietary format.
If time is specified, LTspice .savestate will save the state of the simulation at that time. If time is not specified, .savestate will save the final state when the simulation completes or is cancelled.
If the state file already exists, it will be overwritten.
Multiple .savestate commands may be specified in the same simulation to save the state at different times.
Copyright © 1998–2025 by Analog Devices Inc. All Rights Reserved.