Unzip throws ZIP file not found error in "Classify ECG Signals Using LSTM Networks Example"
13 views (last 30 days)
Show older comments
MathWorks Support Team
on 14 Feb 2020
Edited: MathWorks Support Team
on 27 Mar 2020
Looking at the example from the documentation "Classify ECG Signals Using LSTM Networks Example",
I get the following error when I run "ReadPhysionetData" from the "ClassifyECGSignalsUsingLSTMNetworksExample.mlx" deep learning example.
Error using checkfilename>validateFilename (line 165)
Function UNZIP was unable to find file ''/physionet.org/challenge/2017/training2017.zip''.
Error in checkfilename (line 49)
[fullfilename, fid] = validateFilename( ...
Error in parseUnArchiveInputs (line 81)
[archiveFilename, url] = checkfilename(archiveFilename, validExtensions, ...
Error in unzip (line 57)
[zipFilename, outputDir, url, urlFilename] = parseUnArchiveInputs( ...
Accepted Answer
MathWorks Support Team
on 27 Mar 2020
Edited: MathWorks Support Team
on 27 Mar 2020
In MATLAB versions after R2017b and before R2019b Update 2, it is likely that the URL for the location of the data set is outdated or incorrect.
Link : <https://physionet.org/challenge/2017/training2017.zip>
should be updated to
Please replace the URL in the file "ReadPhysionetData.m" on line 8:
unzip('https://physionet.org/challenge/2017/training2017.zip')
with the archive link:
unzip('https://archive.physionet.org/challenge/2017/training2017.zip')
0 Comments
More Answers (0)
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!