資源簡介
用于讀取edf格式文件的matlab代碼,可進(jìn)行edf文件的讀取,將其轉(zhuǎn)化為.mat文件,可直接運(yùn)行。
代碼片段和文件信息
function?[hdr?record]?=?edfread(fname?varargin)
%?Read?European?Data?Format?file?into?MATLAB
%
%?[hdr?record]?=?edfread(fname)
%?????????Reads?data?from?ALL?RECORDS?of?file?fname?(‘*.edf‘).?Header
%?????????information?is?returned?in?structure?hdr?and?the?signals
%?????????(waveforms)?are?returned?in?structure?record?with?waveforms
%?????????associated?with?the?records?returned?as?fields?titled?‘data‘?of
%?????????structure?record.
%
%?[...]?=?edfread(fname?‘a(chǎn)ssignToVariables‘?assignToVariables)
%?????????Triggers?writing?of?individual?output?variables?as?defined?by
%?????????field?‘labels‘?into?the?caller?workspace.
%
%?[...]?=?edfread(...‘desiredSignals‘desiredSignals)
%?????????Allows?user?to?specify?the?names?(or?position?numbers)?of?the
%?????????subset?of?s
評(píng)論
共有 條評(píng)論