while doing simulation i want to save plecs file along with all scope waveform so that i can open it and show my result without saving each and every scope file
This feature is not supported directly, however one can use a simulation script to save all relevant traces after a simulation run using the following command:
plecs('scope', 'scopePath', 'SaveTraces', 'ļ¬leName')
When the model is re-opened then one can simply load the trace data, via a different script using:
plecs('scope', 'scopePath', 'LoadTraces', 'ļ¬leName')
You can place this into a for loop with a list of scopes to save and restore all scopes in your model.
1 Like