4

I have a small 32 GB hard drive on my Chromebook to which I recently installed Linux. I need to install MatLab 2017a on it, but the entire suite is upwards of 25 GB in size. I only have ~21 GB left on the onboard storage. Is it possible to download and install the entire MatLab file onto an SD card, mount the SD card, and then run MatLab on my Linux set up?

3 Answers 3

5

It should definitely be possible. I have a similar setup (HP Chromebook 14) with a tiny 16 GB hard drive. I run Unity3D on it, which is installed on my 32 GB microSD card. You may run into permission problems though. I had to format mine to ext4 format as well as mount it with the "exec" mount flag to get programs running. Personally, I haven't used MatLab, but if there is a Linux build available, it should be a straightforward process.

0

As far as I know, you might be able to do it. Follow it in the steps below:

  1. Obtain the source code of your application. This will be.much easier with that.

  2. Format your SD card to ext2, ext3, or ext4.

  3. Take the source code (which should be in some sort of archive file.) And decompress it to the SD card.

  4. Find the file that launches the entire app and you be able to launch that to get the app to run.

Hope this works!

1
  • Unfortunately MATLAB's source code isn't available to the public. Besides that I think the basic idea here is good, but if you start from source code then for most programs you have to compile it before you can run the program. Often it's not necessary to actually install the compiled program, though. That is, many programs will run fine from inside their source code directory after being compiled, and you don't need to use the make install or similar step that would copy their files to directories under the configured prefix. Sep 3, 2017 at 15:30
0

There is article on MATLAB at help.ubuntu.com:
https://help.ubuntu.com/community/MATLAB
It is bit outdated, but I would imagine it is possible.
You can then create symlinks for scripts it uses if it does not do it during installation.
So if new MATLAB version you are using have same installation process as old ones, it should not be an issue.
There are less useful article on Mathworks.com itself:
https://www.mathworks.com/help/matlab/matlab_env/start-matlab-on-linux-platforms.html
But it has instructions on how to launch it and also says this:

matlabroot is the name of the folder in which you installed MATLAB.

Which leads me to believe that it is possible to select alternative installation directory.
Assuming you properly format SD-card to ext4 and mount it properly, it should be possible to do.
I do not know about 2017 version, but 2016 did had option to select installation directory so you should be able to do it.

I don't have any experience with MATLAB so can't really give you step-to-step guide, but from what I see it is definitely possible.

If you do not have any technical limitation or limited traffic that stops you from just trying to do it, I would suggest that you try to install it on ext4 formatted SD-card first and come back with more presented issues after that, if you encounter any.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .