I am trying to install MATLAB and I am running into some issues with the installer program with Ubuntu 13.10.

I get to the screen which tells me to select the directory I wish to install in, I then select next and it tells me the folder does not exist and asks me if I wish to create a new one; if I select to create the folder it gives me the error:

```
Failed to create folder (/usr/local/MATLAB/R2013b/)

```

I then tried to create the folder manually; using `sudo mkdir /usr/local/MATLAB/` and then `sudo mkdir /usr/local/MATLAB/R2013b/`, but the installation continues to fail with the same error.

Has anyone encountered and overcome this error before?

Thanks in advance!