I don't get the charts

1 view (last 30 days)
Imane Zemmouri
Imane Zemmouri on 15 Jun 2024
Hello everyone
I need help please
I don't get any results and I don't know why
Processing folder: 01
Number of .hea files found in subfolder 010: 100
Processing file: JS00001
Error loading record: JS00001
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00001. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00002
Error loading record: JS00002
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00002. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00004
Error loading record: JS00004
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00004. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00005
Error loading record: JS00005
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00005. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00006
Error loading record: JS00006
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00006. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00007
Error loading record: JS00007
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00007. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00008
Error loading record: JS00008
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00008. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00009
Error loading record: JS00009
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00009. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00010
Error loading record: JS00010
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00010. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00011
Error loading record: JS00011
Could not find record: C:\Users\RahafKaram\Desktop\a-large-scale-12-lead\a-large\WFDBRecords\01\010\JS00011. Search path is set to: '. C:\Users\RahafKaram\Desktop\wfdb-app-toolbox-0-10-0\mcode\..\database\ http://physionet.org/physiobank/database/'
Processing file: JS00012

Answers (1)

Szabó Bence Károly
Szabó Bence Károly on 12 Jul 2024
Try to use dir's subfolder option( '\**\' ):
heaFiles = dir(fullfile(main_folder, '**', '*.hea'))
for f = heaFiles'
filename = fullfile(f.folder, f.name)
%... Do Stuff
end

Categories

Find more on File Operations in Help Center and File Exchange

Products


Release

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!