MATLAB Answers

How can I obtain the filename from this URL?

1 view (last 30 days)
Jose Ercolino
Jose Ercolino on 25 Jan 2018
Answered: Emil Rode on 11 Feb 2020
How can I obtain the name of the file that links like the following will download?
With a web browser this URL responds with the filename ready to download and save. With MATLAB’s websave, webwrite, urlwrite you have to provide the filename in advance and have no way to know the filename or extension.

Answers (1)

Community Treasure Hunt

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

Start Hunting!