The m-file reads a SPICE3 text output file and imports the data into MATLAB. Whether it works or not really depends on your version of SPICE and what kind of circuit simulation you are doing, but if this m-file doesn't work for you, at least it should be a good starting point. See the help comments in the m-file for more info.
M. A. Hopcroft (2021). SPICE3_import (https://www.mathworks.com/matlabcentral/fileexchange/17838-spice3_import), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!