Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have successfully installed MATLAB 2012a on 12.04 LTS, but I seem unable to execute any of the necessary commands to activate or run the program.

When I navigate to my path_to_matlab/bin folder in terminal and try sudo ./activate_matlab.sh, the response is sudo: ./activate_matlab.sh: command not found. The same thing happens when I try to run matlab or any other script in the folder.

I have read https://help.ubuntu.com/community/MATLAB, but I couldn't find anything there that helped.

I'm booting from a SSD that is running out of room so I installed MATLAB to a HDD, and I wonder if that might be causing the problem.

results from ls -l as requested:

-rw------- 1 zac zac 22899 Dec 29 2011 activate_matlab.sh -rw------- 1 zac zac 22948 Dec 29 2011 deactivate_matlab.sh -rw------- 1 zac zac 18654 Apr 16 2010 deploytool -rw------- 1 zac zac 7731 Dec 29 2011 engopts.sh drwx------ 1 zac zac 147456 Jul 6 13:46 glnxa64 -rw------- 1 zac zac 19 Apr 16 2010 insttype.ini -rw------- 1 zac zac 22057 Jan 20 2012 lcdata_utf8.xml -rw------- 1 zac zac 22307 Jan 20 2012 lcdata.xml -rw------- 1 zac zac 3601 Apr 16 2010 lcdata.xsd -rw------- 1 zac zac 13694 Dec 29 2011 ldd -rw------- 1 zac zac 2309 Sep 20 2011 license.txt drwx------ 1 zac zac 4096 Jul 6 13:35 m3iregistry -rw------- 1 zac zac 55180 Dec 29 2011 matlab -rw------- 1 zac zac 7730 Dec 29 2011 matopts.sh -rw------- 1 zac zac 81155 Dec 29 2011 mbuild -rw------- 1 zac zac 8588 Dec 29 2011 mbuildopts.sh -rw------- 1 zac zac 29795 Dec 29 2011 mcc -rw------- 1 zac zac 52785 Dec 29 2011 mex -rw------- 1 zac zac 11637 Dec 29 2011 mexext -rw------- 1 zac zac 9333 Dec 29 2011 mexopts.sh -rw------- 1 zac zac 758 Apr 16 2010 mw_mpiexec -rw------- 1 zac zac 567 Apr 16 2010 mw_smpd -rw------- 1 zac zac 6455 Dec 29 2011 optsetup.sh -rw------- 1 zac zac 212 Apr 16 2010 ProductRoots drwx------ 1 zac zac 28672 Jul 6 13:45 registry drwx------ 1 zac zac 0 Jul 6 13:33 util -rw------- 1 zac zac 531 Apr 16 2010 worker

share|improve this question
    
Can you post the output of ls -l path_to_matlab/bin in the question? –  muru Jul 6 at 22:56
    
What filesystem does the HDD use, and how is it mounted? –  steeldriver Jul 6 at 22:58
    
The HDD is using NTFS. I'm not really sure what you mean when you ask how it is mounted. –  user3747260 Jul 6 at 23:20
    
Have a look here --> How do I use 'chmod' on an NTFS (or FAT32) partition? –  steeldriver Jul 7 at 0:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.