- I installed the support packages on another pc.
- I found the packages under /usr/local/MATLAB/R2019b/toolbox/nnet/supportpackages
- I copied the whole folder "supportpackages" to the same location on the server where its supposed to run
- On the server, add the "supportpackages"-folder (and subfolders) to the path
- Done. Training running right now.
Install add-on using command line with no GUI
248 views (last 30 days)
I have a question concerning the installations of add-ons, in this case AlexNet for the Neural Network Toolbox. I'm running my neural network code on a Linux system without GUI. How do install an add-on without a GUI?
Matlab Version: 188.8.131.526344 (R2017a), Neural Network Toolbox, Version 10.0 (R2017a).
I hope this is possible.
Serge Lamberty on 7 Nov 2019
I just had the same problem, I found the following work-around, not too pretty but it works for now:
Sindhu Yerragunta on 10 Aug 2017
Edited: Sindhu Yerragunta on 10 Aug 2017
Installing MATLAB and/or a new toolbox onto an existing MATLAB installation without a graphical user interface or X server follows the same process as installing MATLAB with the same conditions. You will need to utilize the silent installer to complete the installation. Please refer to the link for in depth instructions:
Hope this helps.
Yujin Hu on 28 Nov 2017
Hi, did you guys fix it yet? I'm using Arch Linux with MATLAB 2017b, and I could not install the googlenet add-on by double click it, either. I just wonder if I could install it by command line or via matlab function. I know there is a function `matlab.addons.toolbox.installToolbox` to install toolbox, but it's not available for add-on.
Yujin Hu on 30 Nov 2017
I have not figure out any solution to this yet. But one might download add-on with a GUI (Windows, Linux, MacOS), and get the url of the pretrained model file in the downloaded file. It's in one of the xml file. And then one could just download the .mat file, and load it.
I'm wondering maybe the url is something like https://www.mathworks.com/supportfiles/nnet/data/vgg19.tar.gz, one might replace the filename and download other models.
Taylor Johnson on 10 Sep 2019
We also have this issue (specifically to set up a tool to run on CodeOcean), and still, as of September 2019, I have not been able to find a reasonable solution beyond the workaround proposed above of exporting the data as a .mat file.
Is there any way to install these support packages without a GUI and directly through a script/command line?