Skip to content

Undefined function 'fieldnames' for input arguments of type 'double'. #12

@AndreaCogliati

Description

@AndreaCogliati

I tried to install ecg-kit, but I get the following error when running the examples script:

##########################################
# Could not execute "gqrs" QRS detector. #
##########################################


Undefined function 'fieldnames' for input arguments of type 'double'.

Error in getAnnNames (line 32)
    for fname = rowvec(fieldnames(aux_struct))


Error in calculateSeriesQuality (line 40)
    [AnnNames, all_annotations] = getAnnNames(payload_out);


Error in ECGtask_QRS_detection/Process (line 559)
            payload_out = calculateSeriesQuality(payload_out, ECG_header, [1 ECG_header.nsamp] + ECG_start_offset - 1 );


Error in ECGwrapper/Run (line 682)
                            payload = obj.ECGtaskHandle.Process(ECG, this_iter_ECG_start_idx, this_iter_ECG_relative_start_end_idx, this_header, this_ann, [this_iter_QRS_start_idx this_iter_QRS_end_idx] );


Error in examples (line 144)
            ECG_w.Run;

I'm running Matlab R2016b on macOS Sierra. Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions