1

In Ubuntu 16.04, Matlab isn't working. Matlab says I can't edit the matlab file:

Matlab couldn't write a file. Are you using it as root?

I am not running as root as far as I know.

0

1 Answer 1

3

Try to install and run it to the home folder (for example into ~/Software/matlab) without root privileges.

Previous versions such as R2008b work normally. For such installation you can create the following desktop-file:

cat << EOF > ~/Desktop/matlab.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/home/$USER/Software/matlab/bin/matlab -desktop
Name=MATLAB
Icon=/home/$USER/Software/matlab/X11/icons/matlab64c_icon.xpm

EOF
1
  • Yes, i worked when i installed R2008b and i activated license. Dec 25, 2017 at 22:49

You must log in to answer this question.

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