# \#simulation-script

**URL:** https://forum.plexim.com/tag/simulation-script/129.md

[Latest](https://forum.plexim.com/latest.md) · [Categories](https://forum.plexim.com/categories.md) · [Tags](https://forum.plexim.com/tags.md)

---

## [GetCursorData trace ordering with HoldTrace — reverse order behavior](https://forum.plexim.com/t/getcursordata-trace-ordering-with-holdtrace-reverse-order-behavior/2962)

<div class="topic-metadata">

**Author:** [@kldsh](https://forum.plexim.com/u/kldsh)\
**Replies:** 0\
**Last updated:** [April 2, 2026, 12:22pm UTC](https://forum.plexim.com/t/getcursordata-trace-ordering-with-holdtrace-reverse-order-behavior/2962 "2026-04-02T12:22:10Z")

</div>

Hello PLECS community, I wanted to share a finding regarding the trace indexing order when using GetCursorData in combination with HoldTrace during parallel parameter sweeps, as this behavior is not documented and may c…

---

## [How do I install the xmltoolbox library in Octave built into plecs](https://forum.plexim.com/t/how-do-i-install-the-xmltoolbox-library-in-octave-built-into-plecs/2444)

<div class="topic-metadata">

**Author:** [@Aurora](https://forum.plexim.com/u/Aurora)\
**Replies:** 6\
**Last updated:** [August 18, 2025, 1:50am UTC](https://forum.plexim.com/t/how-do-i-install-the-xmltoolbox-library-in-octave-built-into-plecs/2444 "2025-08-18T01:50:40Z")

</div>

As far as I understand, the simulation scripts built into PLECS use the built-in octave, but it contains too few library files to support my other tasks. How do I install other octave libraries to complete the function. …

---

## [Runtime Parameter Modifications with Scripting for Changing Thermal Parameters During Simulation](https://forum.plexim.com/t/runtime-parameter-modifications-with-scripting-for-changing-thermal-parameters-during-simulation/2445)

<div class="topic-metadata">

**Author:** [@RetoChristen](https://forum.plexim.com/u/RetoChristen)\
**Replies:** 0\
**Last updated:** [August 12, 2025, 7:48am UTC](https://forum.plexim.com/t/runtime-parameter-modifications-with-scripting-for-changing-thermal-parameters-during-simulation/2445 "2025-08-12T07:48:19Z")

</div>

This thread presents three example models that use scripted simulation in PLECS to modify thermal or electrical parameters during runtime. All examples demonstrate similar scripting concepts but target different applicat…

---

## [PLECS standalone - access output of a script in Octave?](https://forum.plexim.com/t/plecs-standalone-access-output-of-a-script-in-octave/996)

<div class="topic-metadata">

**Author:** [@mhx](https://forum.plexim.com/u/mhx)\
**Replies:** 9\
**Last updated:** [March 31, 2021, 11:46am UTC](https://forum.plexim.com/t/plecs-standalone-access-output-of-a-script-in-octave/996 "2021-03-31T11:46:10Z")

</div>

When the PLECS ‘simulate’ command is used in a simulation script, he output is returned as follows: out = plecs('simulate',opts); Is it possible to access the out structure from the Octave console window? After th…

---

## [Is that possible to change the diode/IGBT models inside the simulation scripts?](https://forum.plexim.com/t/is-that-possible-to-change-the-diode-igbt-models-inside-the-simulation-scripts/873)

<div class="topic-metadata">

**Author:** [@kna1231](https://forum.plexim.com/u/kna1231)\
**Replies:** 1\
**Last updated:** [October 8, 2020, 12:04pm UTC](https://forum.plexim.com/t/is-that-possible-to-change-the-diode-igbt-models-inside-the-simulation-scripts/873 "2020-10-08T12:04:35Z")

</div>

Hi, I want to generate the simulation of thermal model under different manufacturers’ diode/IGBT models automatically using the simulation scripts. Is that able to achieve by writing the scripts? If yes, any example on…

---

## [Xml-rpc initialization with Stored system state](https://forum.plexim.com/t/xml-rpc-initialization-with-stored-system-state/818)

<div class="topic-metadata">

**Author:** [@Rino](https://forum.plexim.com/u/Rino)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 5:18pm UTC](https://forum.plexim.com/t/xml-rpc-initialization-with-stored-system-state/818 "2020-08-10T17:18:15Z")

</div>

hello, I’m using xml-rpc interface in plecs standalone. In user manual, plecs.simulate() command has options like ‘SolverOpts’. I want to simulate my circuit via xml-rpc with initialization from stored system state. …

---

## [Control Simulation Events From a File](https://forum.plexim.com/t/control-simulation-events-from-a-file/430)

<div class="topic-metadata">

**Author:** [@Vasileios\_tso](https://forum.plexim.com/u/Vasileios_tso)\
**Replies:** 10\
**Last updated:** [June 10, 2020, 12:26pm UTC](https://forum.plexim.com/t/control-simulation-events-from-a-file/430 "2020-06-10T12:26:00Z")

</div>

Hello all, Is it possible to have a .csv file to control events on my simulation in PLECS standalone? For example, I would like to have two columns in my file, one for Time and one for Power values. What I would like …

---

## [Is possible to execute the Steady-State Analysis from simulation script?](https://forum.plexim.com/t/is-possible-to-execute-the-steady-state-analysis-from-simulation-script/264)

<div class="topic-metadata">

**Author:** [@lrubino01](https://forum.plexim.com/u/lrubino01)\
**Replies:** 5\
**Last updated:** [November 14, 2018, 12:03pm UTC](https://forum.plexim.com/t/is-possible-to-execute-the-steady-state-analysis-from-simulation-script/264 "2018-11-14T12:03:34Z")

</div>

I want to write a script that allow to execute the steady state analysis by varying one or more parameters for simulations. Is possible to do this? Best regards

---

## [Exporting vectors/matrixes in simulation script to a .csv or excel file?](https://forum.plexim.com/t/exporting-vectors-matrixes-in-simulation-script-to-a-csv-or-excel-file/300)

<div class="topic-metadata">

**Author:** [@Joelkirkby](https://forum.plexim.com/u/Joelkirkby)\
**Replies:** 2\
**Last updated:** [March 16, 2018, 6:57pm UTC](https://forum.plexim.com/t/exporting-vectors-matrixes-in-simulation-script-to-a-csv-or-excel-file/300 "2018-03-16T18:57:20Z")

</div>

I have been trying to run simulation scripts and output desired values in a matrix, with a column for time and other parameters, rms values etc. Is there anyway I can export these data tables to an excel file, so that I…

---

## [Scripts + Storing value](https://forum.plexim.com/t/scripts-storing-value/261)

<div class="topic-metadata">

**Author:** [@munadir](https://forum.plexim.com/u/munadir)\
**Replies:** 2\
**Last updated:** [February 1, 2018, 2:46pm UTC](https://forum.plexim.com/t/scripts-storing-value/261 "2018-02-01T14:46:26Z")

</div>

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
