You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This M-File imports data from binary *.dat files, created with PSpice. It has been tested for PSpice 6.0 (DOS), 9.1 (Student), 10.0.3 and 16.2.0. If you are using other versions of PSpice, you might need to adjust the code!
The M-file further has been tested with PSpice's transient analysis, AC and frequency sweeps. However, it might not be able to import digital data.
I would be happy to help out, if you can provide a small sample file created with another version of PSpice or containing a different data type
Cite As
Frank Sommerhage (2026). PSpice binary import (https://www.mathworks.com/matlabcentral/fileexchange/21452-pspice-binary-import), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Matlab <-> PSpice Interface
General Information
- Version 1.10.0.0 (7.36 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.10.0.0 | Fixed output structure and plot function for frequency related data to support real and imaginary parts. Data files were provided by Fernando Schlemm Ribeiro from Rio de Janeiro State University, Brazil. |
||
| 1.7.0.0 | updated the format of output variables to support frequency sweeps and adjusted plots to contain phase data if present |
||
| 1.6.0.0 | added compatibility for PSpice 16.2.0 (file was gently provided by Lars Bartschat from UniBw München) |
||
| 1.4.0.0 | n/a |
||
| 1.1.0.0 | fixed an error for Matlab R2009a since hex2bin.m turned very picky (reported by Enea Bianda from ETH Zurich, Switzerland)
|
||
| 1.0.0.0 | fclose(fid) was missing - is fixed now |
