STDF file reader V2

Extracts contents of an STDF (Standard Test Data Format) file, per the STDF Specification V4. Original author: Ryan Gamble

You are now following this Submission

** This tool was originally written by Ryan Gamble. I did some recent bug fixes. **

importSTDF.m extracts test data and information fields from each binary record in an STDF file, returning each record data set in a separate cell. Field values are converted to their specified data type, per the specification.

Since the file type is binary and MatLab does not have good native binary conversion tools, the extraction process is slow - a 20MB file can take up to 2 hours to process.

This function provides a status wait bar, for immediate user feedback as to how long the process will take.

The best use of this function is to utilize the second argument to narrow down the records returned. As an example, if you need only wafer/package test bin information, the following records will suffice:'MIR, WIR, PIR, PRR, MRR. Just set the second argument to the cell array {'MIR', 'WIR', 'PIR', 'PRR', 'MRR'}.

Support functions used for converting 2's complement values, as well as IEEE hex to strings, are included in this archive.

Cite As

Arjun Sarin (2026). STDF file reader V2 (https://www.mathworks.com/matlabcentral/fileexchange/68833-stdf-file-reader-v2), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: STDF file reader

Categories

Find more on Data Import and Analysis in Help Center and MATLAB Answers

Tags

Add Tags

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0