Read and extract values from COMTRADE record
To export the data channel signals to a format compatible with the Simulink Signal
Editor block, use the
exportMATFile method to create a
comtradeRecordName — Name of COMTRADE record
File name of the COMTRADE record that you want to read and extract values from, specified as a case-sensitive string without the file extension. Configuration and data files are mandatory for each COMTRADE record. Header and information files are optional. All files must have the same name and different extensions.
These are the accepted extensions for the COMTRADE records:
.cfgfor configuration files
.datfor data files
.hdrfor header files
.inffor information files
filetype — Type of header file in COMTRADE record
Type of the header file in the COMTRADE record input, specified as
dataset — Extracted values from COMTRADE record
Extracted values from the COMTRADE record, returned as a structure with these fields:
Configuration — COMTRADE configuration
Data extracted from the configuration file of the COMTRADE record, returned as a structure. This data is necessary to interpret the information contained in the data file.
Data — COMTRADE data
Data extracted from the data file of the COMTRADE record, returned as a structure.
Header — COMTRADE header
Data extracted from the header file of the COMTRADE record, returned as a structure.
Information — COMTRADE information
Data extracted from the information file of the COMTRADE record, returned as a structure.
Introduced in R2020b