I don't get the charts

1 次查看(过去 30 天)
Imane Zemmouri
Imane Zemmouri 2024-6-15
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

回答(1 个)

Szabó Bence Károly
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

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

产品


版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by