SDF Importer

Enables importing of HP/Agilent/Keysight Standard Data Format (SDF) files within MATLAB and Octave.
1K Downloads
Updated 21 Sep 2021

View License

We present the ‘SDF Importer’, a package developed to enable reading of HP/Agilent/Keysight Standard Data Format (SDF) files (v3.0 and below) within MATLAB and Octave.
We provide a brief introduction to the package’s functions, a description of the structure of the extracted data, and step by step instruction on extracting and displaying single-trace and multi-trace datasets. Additionally an assessment of the importer against the Standard Data Format Utilities supplied with original HP equipment is performed.
Note: See updates notes in SDF_import.m regarding engineering units bug.

Cite As

Justin Dinale (2024). SDF Importer (https://www.mathworks.com/matlabcentral/fileexchange/67513-sdf-importer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on AI for Signals in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.8

Included check as to whether an index label is present within the table entries. If index is not present, whole table is displayed and error message informs user of issue. Modified SDF_demo.

1.0.7

Fixed error detecting SDF file version.

1.0.6

User guide and license file added back to zip.

1.0.5

Adjusted code to cope with an array of SDF_DATA_HDR structures (multiple traces).

1.0.4

- Fixed reshaping scanVar arrays.
- Merged multiple scans into single array '.ext.sXd#v#'.
- Window corrections are improved.
- Frequency/Order datasets have narrowband correction applied by default.
- Minor spelling corrections.

1.0.3

No changes to the project. Number increased due to File Exchange not uploading correctly. Re-syncing version numbering with File Exchange. Code is identical to v1.0.1.

1.0.2

Version 1.0.1 corrections:
- Scaling of Y-channel data to account for channel order
- Incorrect variable reference when loading logarithmic x-axis data.
- Importer now deals with files marked as 'scan' data, which have no 'scan' data traces.

1.0.1

Version 1.0.1 corrections:
- Scaling of Y-channel data to account for channel order
- Incorrect variable reference when loading logarithmic x-axis data.
- Importer now deals with files marked as 'scan' data, which have no 'scan' data traces.

1.0.0.0