How do I download straight to USB?

9 vues (au cours des 30 derniers jours)
Michael Richards
Michael Richards le 4 Jan 2021
matlab installer insists on downloading first to appdata\local\Temp, which it does not fit in; despite setting destination on another drive.
Is there a way to either skip the temporary appdata residency, move files during download or set up an alternate 'Temp' location?

Réponse acceptée

Michael Richards
Michael Richards le 8 Jan 2021
Ok, so I figured it out on my own, so I'll answer my own question.
The user's environment variables TMP and TEMP can be changed to a Temp folder on the target USB, hence redirecting the matlab downloads straight to USB without filling up local disk in this directory: %AppData%\Local\Temp.
To get to environment variables, control panel search for env, click on change environment variables under System, then you will be in Properties > Advanced, click the button Environment Variables and change both TMP and TEMP to the desired download location. Then press ok, and restart any applications that may be using this.

Plus de réponses (1)

Priysha LNU
Priysha LNU le 7 Jan 2021
Hi,
Whether or not you can run MATLAB from a flash drive depends on your license type.
Individual or Designated Computer license
Individual or Designated Computer licenses are locked to the computer they are installed on. Therefore, MATLAB cannot be installed to a flash drive and run on a computer different than the one it was installed on.
Individual licenses with Login Named User (LNU) enabled
On some Individual licenses, you can forego the lock to a specific computer by connecting to the internet on launch. This is called Login Named User, or LNU for short. When using LNU your MathWorks account credentials will be used to verify your license. If you have enabled LNU on your license, you can install MATLAB on a flash drive and run MATLAB on any internet-connected computer.
License administrators can enable Login Named User on Individual licenses here:
Concurrent or Network Named User licenses
Concurrent or Network Named User licenses are not locked to the computer they are installed on, and instead communicate with a license server elsewhere on your network when launched to confirm the presence of a MATLAB license. Therefore, with this kind of license MATLAB can be installed on a flash drive and used on any computer which is on the same network as the license manager.
If you still need any further clarifications, I suggest reaching out to the MATLAB Installation and Licensing support team at Mathworks Support.
Hope this helps!
Thanks!
  1 commentaire
Rik
Rik le 7 Jan 2021
That is not the question. The point isn't to install Matlab to a USB drive, the point is to download it to a USB drive.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by