Download zip file from url in MATLAB

조회 수: 39 (최근 30일)
PeymanS
PeymanS 2022년 6월 7일
댓글: Stephen23 2025년 8월 14일
I would like to download a zip file from a url.
Here is the webpage:
and I would like to download "CSR_CSR-Release-06_96x96_unfiltered.zip"
Thanks in advance.

채택된 답변

Sourav Sukumaran
Sourav Sukumaran 2022년 6월 29일
Hi,
Please refer to this MATLAB Answer.You have to use the websave option with the your url and filename
Thanks
  댓글 수: 3
Damon
Damon 2025년 8월 13일
This doesn't work in many cases, it seems to just download an .html file pointing to the file you're telling it to download.
This bug really limits the utility of websave. Fixes using curl or other approaches are problematic. This is a very commonly used function (or would be if it worked) for many of us.
Please fix this bug.
Stephen23
Stephen23 2025년 8월 14일
@Damon: make a bug report / enhancement request: https://www.mathworks.com/support/contact_us.html

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by