Web function default download location

6 visualizaciones (últimos 30 días)
Colton Fruhling
Colton Fruhling el 27 de Sept. de 2019
Respondida: Saket Chirania el 29 de En. de 2021
Hello,
I am using the built in web browser to display a webpage. I then want to download a pdf from that webpage but have to navigate to through the file browser to a save location everytime. Is there a way to change the default download location for the built in web() function?
Thanks,
Colton

Respuestas (1)

Saket Chirania
Saket Chirania el 29 de En. de 2021
Hello Colton,
Starting in R2014a, the installer automatically tries to download the installation files to the Downloads folder (Windows) or your Home directory (Linux/Mac).If you have size limitations on either directory, you can change the default download directory by passing a -downloadFolder flag to the install script.
On Windows, and example command would look like this:
"C:\Users\Username\Downloads\MATLAB_R2017a\setup.exe" -downloadFolder "D:\Program Files\MATLAB\Downloads"
Alter the file paths in the command above to match where the setup.exe file is located, and where you would like the download folder to be.
On Linux or Mac OS X, this command would look like:
./install -downloadFolder /tmp/MathWorks

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by