Hello,
Is there a way to store a value in a simulation run that I can then use for the next simulation (both simulation runs via script).
Munadir
Hello,
Is there a way to store a value in a simulation run that I can then use for the next simulation (both simulation runs via script).
Munadir
Hi,
you can place an output port on your top level schematic. When you run plecs(‘simulate’) it returns the values of the signals that are connected to top-level output ports. These values can then be assigned to variables in the next simulation run (using the ModelVars struct in the simulate command).
Kind regards,
Oliver
Thanks! That was helpful. I hacked up one of the PLECS demo models and am attaching it.