The error is most probably due to the fact that you do not have write privileges in the folder where the install script is does mkdir.
This is possible as you could have made matlab installation folders as read only. Changing this would resolve the issue. I would look at install.m and try and check the directory where it is using the mkdir command. You can confirm whether that directory is read only or not!
Best Answer