Installing Add-On offline

234 views (last 30 days)
Nate Melster
Nate Melster on 4 May 2023
Edited: june kim on 5 Apr 2024
I have an offline machine with Matlab that cannot connect to the internet. I need an add-on installed to use for a connected USRP. On an online machine, I went to the Add-Ons for Communications Toolbox Support Package for USRP Radio. I first wanted to select download only, but since it was already installed on this online machine, I was not able to. Is there a way to just download the Add-On on a machine that already has it installed?
I ended up uninstalling this Add-On, and then I was able to select download only. I copied everything downloaded to the offline machine. I also had to reinstall it on the online machine.
I then tried to load Add-On based on what it says in the readme file from the download. I tried the first thing below.
cd DRIVE:\<MATLAB_PATH>\bin\win64
install_supportsoftware.exe -archives <path_to_download_folder> [-matlabroot DRIVE:\MATLAB_PATH]
This did not work.

Answers (3)

Sourabh
Sourabh on 15 May 2023
Greetings Nate,
I understand that you want to install the Communications Toolbox Support Package for USRP Radio on your offline machine.
I believe the steps for your specific problem have been extensively detailed in the following community post:
Please make sure to replace the fields ‘DRIVE’, ‘MATLAB_PATH’, ‘path_to_download_folder’ with the valid inputs when running the relevant commands from the readme.txt file.
If you still face any issues, please contact MathWorks Support:
Hope this helps!

William
William on 29 Nov 2023
Hello, you can follow these steps:
  1. Uninstall the Add-On on the online machine (if you haven't already done so). This step is necessary to make the "Download Only" option available again.
  2. Once the Add-On is uninstalled, go to the Add-Ons section in MATLAB on the online machine and locate the Communications Toolbox Support Package for USRP Radio.
  3. Select the "Download Only" option to initiate the download of the Add-On files. Make sure to note the download location.
  4. Copy all the downloaded files from the online machine to the offline machine using a USB drive or any other means of transferring files.
  5. On the offline machine, navigate to the folder where you copied the downloaded files.
  6. Open a Command Prompt or Terminal window and change the directory to the MATLAB installation folder's "bin\win64" directory. Use the following command:
cd DRIVE:\<MATLAB_PATH>\bin\win64
```
Replace "DRIVE" with the appropriate drive letter and "\<MATLAB_PATH>" with the path to your MATLAB installation folder.
7. Execute the following command to install the Support Package, pointing to the location of the downloaded files:
livecodeserverCopyinstall_supportsoftware.exe -archives <path_to_download_folder> -matlabroot DRIVE:\MATLAB_PATH
```
Replace "\<path_to_download_folder>" with the path to the folder where you copied the downloaded files, and again, replace "DRIVE" with the appropriate drive letter and "\<MATLAB_PATH>" with the path to your MATLAB installation folder.
For example:
install_supportsoftware.exe -archives D:\Downloads\USRP_Addon -matlabroot C:\MATLAB
This command should initiate the installation of the Support Package on the offline machine.
Make sure you have administrative privileges on the offline machine to install the Support Package successfully. If you encounter any issues during the installation process, double-check that you have copied all the necessary files and that the paths provided are correct.

june kim
june kim on 5 Apr 2024
Edited: june kim on 5 Apr 2024
If matlab 2024a version addon package <pytorch> offline installing method :
pytorch package download only by manage Add-On in matlab 2024a
ON windows command prompt ;
1.cd C:\Program Files\MATLAB\R2024a\bin\win64
2. install_supportsoftware.exe -archives C:\Temp\pytorch\archives
************ if addon pytorch package folder is C:\Temp\pytorch\archives

Categories

Find more on Manage Products in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!