Fix Matlab install permission issues

Installing Matlab on Linux from a networked drive with:

./install

Might fail to install with message:

/tmp/mathworks_/sys/java/jre/glnxa64/jre/bin/java: Permission denied

The fix for this is to instead of installing over the network, copy the whole Matlab installation directory to the local home drive ~ e.g. to ~/matlab. Then install like:

chmod +x ~/matlab/sys/java/jre/glnxa64/jre/bin/java

./install