Results 1 to 6 of 6

Thread: SOS: Error installing MATLAB for All

  1. #1
    Join Date
    Jul 2008
    Beans
    2

    SOS: Error installing MATLAB for All

    hello, everyone,

    I tried to install matlab in directory "/usr/local/matlab", but I encountered some problems. The error messages like this:

    Error installing MATLAB Toolbox for All
    Error installing MATLAB Kernel for Linux (x86)
    Error installing MATLAB for All
    Error installing MATLAB for Linux (x86)
    ... and so on.

    Although errors occured, the installation didn't stop. After it is completed, I can't find the executable file "matlab" in the directory "/usr/local/matlab/bin"

    I have installed Java6 correctly (I can compile and execute java programs).

    Are there anyone have the similar or same problems? I appreciate any helpful advices from you. my email address is thinker_qk@hotmail.com.

    Thanks a lot.

  2. #2
    Join Date
    Jul 2005
    Location
    Waikerie, South Australia
    Beans
    217
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: SOS: Error installing MATLAB for All

    Did you install it as administrator? In other words put sudo in front of the install command.

    I presume you ran
    Code:
    install_unix.sh
    in a terminal.

    you need to run
    Code:
    sudo install_unix.sh
    I have matlab installed for all with no problems but I did have to do it with sudo as a regular user does not have write permissions to /usr/local/

    you may also need to create the matlab directory first
    Code:
    sudo mkdir /usr/local/matlab

  3. #3

    Re: SOS: Error installing MATLAB for All

    Moved to Education and Science.
    Learning is not attained by chance, it must be sought for with ardor and attended to with diligence. Abigail Adams ( 1744 - 1818 ), 1780;

    My blog Poetry and More Free Ubuntu Magazine

  4. #4
    Join Date
    Jul 2008
    Beans
    2

    Re: SOS: Error installing MATLAB for All

    Quote Originally Posted by sawjew View Post
    Did you install it as administrator? In other words put sudo in front of the install command.

    I presume you ran
    Code:
    install_unix.sh
    in a terminal.

    you need to run
    Code:
    sudo install_unix.sh
    I have matlab installed for all with no problems but I did have to do it with sudo as a regular user does not have write permissions to /usr/local/

    you may also need to create the matlab directory first
    Code:
    sudo mkdir /usr/local/matlab
    Yes, I did it as root.

  5. #5
    Join Date
    Sep 2008
    Beans
    1

    Re: SOS: Error installing MATLAB for All

    i am having the same problem in the installation
    the same messages
    can some one help???
    tks

  6. #6
    Join Date
    Jul 2005
    Location
    Waikerie, South Australia
    Beans
    217
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: SOS: Error installing MATLAB for All

    Are you installing on a 32 bit system or 64 bit?

    Do you have a 32 bit version of MATLAB or 64 bit?

    I have successfully installed 32 bit MATLAB student edition on 64 bit Ubuntu as follows;

    1. install the 32 bit libraries;
      Code:
      sudo apt-get install ia32-libs
    2. make the directory to install MATLAB to;
      Code:
      sudo mkdir /usr/local/matlab
    3. change to the MATLAB directory;
      Code:
      cd /usr/local/matlab
    4. run the MATLAB installer;
      Code:
      sudo /cdrom0/install-unix.sh
      Note: I am not entirely sure about the path here as I do not have my MATLAB cd here at work and your path may be slightly different so check it first.
    5. start MATLAB;
      Code:
      linux32 matlab
    6. Create menu entry;

      Right click on the Applications menu, select edit menu, create an entry wherever you would like it to be and enter the command as mentioned in the previous point.

    7. get menu icon;

      you can get a menu icon by following this link http://www.mathworks.com/favicon.ico


    If you are on a 32 bit system you can leave out step one and change the command in step 5 and in the menu entry to simply
    Code:
    matlab
    This has worked every time for me with no problems. Just make sure you have java installed to run it but that won't stop the installation.

    It's a good idea to run it from the terminal initially before you create the menu entry so you can see any error messages.

    ONE EXTRA POINT: I have found that to make the menu entry work I have to set it to run the application from the terminal otherwise I just see the splash screen but it never opens. This may be something to do with the linux32 command and may not apply on a 32 bit system.

    EDIT: another easier option is to make sure you have the backport repositories enabled and then enter
    Code:
    sudo apt-get update
    sudo apt-get install qtoctave
    This will give you a free opensource alternative to MATLAB that works quite well and doesn't require jumping through hoops to get it working.
    Last edited by sawjew; September 10th, 2008 at 04:15 AM. Reason: Extra information

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •