Can I import Standard Data Format (SDF) files into MATLAB?

69 views (last 30 days)
Standard Data Format (SDF) files are formatted ASCII text files in which fields are delimited with a particular character (e.g., a space) and each record ends with a carriage return and/or line feed. I would like a built-in function that will easily import an SDF file into MATLAB just as CSVREAD reads a Comma-Separated Value (CSV) file into MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Oct 2021
Edited: MathWorks Support Team on 21 Oct 2021
A single built-in function that is dedicated to the import of Standard Data Format (SDF) files is not available in core MATLAB.
To work around this issue, you can develop a function in MATLAB that will appropriately parse an SDF file. In particular, you can utilize the TEXTREAD or TEXTSCAN functions to read the formatted ASCII text file. For more information, please refer to the section of the MATLAB documentation entitled "Importing Text Data", in addition to the File I/O Guide:
MATLAB Central also has the ' 
 ' to enable reading of HP/Agilent/Keysight Standard Data Format (SDF) files within MATLAB.

More Answers (1)

Justin Dinale
Justin Dinale on 27 Apr 2018
Edited: Justin Dinale on 27 May 2018
MATLAB Central has available the ' SDF Importer ' which should be able to import most Standard Data Format (SDF) files.
  2 Comments
panduranga reddy alemela
panduranga reddy alemela on 23 Sep 2020
HI Justin,
Using SDF Importer, I am still having issue to read a SDF file (a measurement file from an old Norsonic Real time Anlayser 840). Also When I stored the Impulse reponse in SDF file format, Can you please let me know, how can I convert it into .Wav file format?
Thanks a lot,
Reddy

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!