Run ngspice simulation and import rawfile
This function provides a wrapper to 'ngspice' making it easier to use the software from within MATLAB.
ngspice is an open-source electronic circuit simulator based on the Simulation Program with Integrated Circuit Emphasis (SPICE). It uses a 'netlist' to describe the layout of the circuit which is provided as an input text file. The simulation produces an output file (called a 'rawfile') containing a number of variables including voltages and currents at various points in the circuit.
This function imports the rawfile into MATLAB allowing data to be analyzed and graphed more easily.
The ngspice software must be installed on your computer in order to use this function.
Zitieren als
Iain Robinson (2024). Run ngspice simulation and import rawfile (https://www.mathworks.com/matlabcentral/fileexchange/37457-run-ngspice-simulation-and-import-rawfile), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > External Language Interfaces > Other languages > SPICE files >
- Physical Modeling > Simscape Electrical > Electrical Block Libraries > Semiconductors and Converters >
- FPGA, ASIC, and SoC Development >
Tags
Quellenangaben
Inspiriert von: Read ngspice, Fast Import of Compressed Binary .RAW Files Created with LTspice Circuit Simulator
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |