Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AndreaCogliati opened this issue Jul 6, 2017 · 1 comment

Comments

@AndreaCogliati
Copy link

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?

@marianux
Copy link
Owner

marianux commented Jul 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants