How do I download straight to USB?

조회 수: 9 (최근 30일)
Michael Richards
Michael Richards 2021년 1월 4일
답변: Michael Richards 2021년 1월 8일
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?

채택된 답변

Michael Richards
Michael Richards 2021년 1월 8일
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.

추가 답변 (1개)

Priysha LNU
Priysha LNU 2021년 1월 7일
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
Rik
Rik 2021년 1월 7일
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.

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

카테고리

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