Fast Import of Compressed Binary .RAW Files Created with LTspice Circuit Simulator
LTSPICE2MATLAB imports an LTspice IV .RAW waveform file containing data from a Transient Analysis (.tran) or AC Analysis (.ac) simulation, and converts voltages and currents vs. time (or frequency) into a Matlab data structure. This function can read compressed binary, uncompressed binary, and ASCII file formats. In the case of compressed binary, the data is automatically uncompressed using fast quadratic point insertion. This function handles very large binary simulation files efficiently, and has an option to load only a subset of a file's waveforms to reduce memory consumption. Type >> help LTspice2Matlab for details.
Use LTSPICE2MATLAB to import LTspice waveforms for additional analysis in Matlab, or for comparison with measured data. LTspice2Matlab has been tested with LTspice IV version 4.01p, and Matlab versions 6.1 and 7.5., and regression testing has been used to expose the function to a wide range of LTspice settings.
Note: LTspice IV is a Spice III simulator and schematic capture tool freely avaliable for download at www.linear.com/designtools/software. It is optimized for simulation of switching regulators, but can simulate many other types of circuits as well and comes with a variety of component models.
Citar como
Paul Wagner (2025). Fast Import of Compressed Binary .RAW Files Created with LTspice Circuit Simulator (https://www.mathworks.com/matlabcentral/fileexchange/23394-fast-import-of-compressed-binary-raw-files-created-with-ltspice-circuit-simulator), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > External Language Interfaces > Other languages > SPICE files >
- Physical Modeling > Simscape Electrical > Electrical Block Libraries > Semiconductors and Converters >
Etiquetas
Agradecimientos
Inspiración para: Simulation of Crossover Distortions in Class AB 0.00002% THD, Run ngspice simulation and import rawfile, Extract switching behavior from LTSpice MOSFETs
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.