Comtrade Files ASCII and BINARY
Version 1.0.0 (3.77 KB) by
Edgar Rosa
Read and extract values from COMTRADE record file into the workspace Structure The data file may be in ASCII, Binary, Binary32 or Float32
Read and extract values from COMTRADE record file into the workspace Structure
The data file may be in ASCII, Binary, Binary32 or Float32 format.
IEEE C37.111-2013: This international Standard defines a formart for files containing transient waveform and event data collected from power systems
This involves the opening of four files,
- Configuration (.cfg)
- Data (.dat)
- Header (.hdr) - optional
- Information (.inf)- optional
The data file may be in ASCII, Binary, Binary32 or Float32 format.
Open the comtrade files & extract the data
ReadComtrade(filename) for input filename without the file extension or if it doesn't exist call uigetfile function.
Imports data from the specified file
filename: files to read: .cfg, .dat, .hdr and .inf
Cite As
Edgar Rosa (2025). Comtrade Files ASCII and BINARY (https://in.mathworks.com/matlabcentral/fileexchange/111775-comtrade-files-ascii-and-binary), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: COMTRADE reader
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |