Results 1 to 5 of 5

Thread: How does one start Matlab in Opensuse 10.3?

  1. #1

    Default How does one start Matlab in Opensuse 10.3?

    Hallo!I have installed Matlab 7.R14 on my OpenSuse 10.3 Linux.Unfortunately,when I try to run the matlab the error below appears

    MATLAB: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. Abort

    Having looked at various forums I saw a possible solution as shown below

    To solve it, make a file in your home or home/bin directory, let's say matlab.sh containing

    Code:
    #!/bin/sh
    export LIBXCB_ALLOW_SLOPPY_LOCK=1
    matlab -desktop

    and make it executable by
    Code:

    chmod +x matlab.sh
    now if you run it
    Code:

    ./matlab.sh
    you should be able to start matlab.

    I have implemented this but when I try to start matlab at the console using

    ./matlab.sh

    The following error appears

    ./matlab.sh: line 3: matlab: command not found.

    How do I solve this problem?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,086
    Blog Entries
    15

    Default Re: How does one start Matlab in Opensuse 10.3?

    Quote Originally Posted by 4joey1
    Hallo!I have installed Matlab 7.R14 on my OpenSuse 10.3
    Linux.Unfortunately,when I try to run the matlab the error below
    appears

    MATLAB: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock'
    failed. Abort

    Having looked at various forums I saw a possible solution as shown
    below

    To solve it, make a file in your home or home/bin directory, let's say
    matlab.sh containing

    Code:
    #!/bin/sh
    export LIBXCB_ALLOW_SLOPPY_LOCK=1
    matlab -desktop

    and make it executable by
    Code:

    chmod +x matlab.sh
    now if you run it
    Code:

    /matlab.sh
    you should be able to start matlab.

    I have implemented this but when I try to start matlab at the console
    using

    /matlab.sh

    The following error appears

    /matlab.sh: line 3: matlab: command not found.

    How do I solve this problem?

    Hi
    As pointed out in a previous post in your script provide the full path
    to matlab in you script.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
    up 1 day 0:10, 1 user, load average: 0.01, 0.04, 0.00
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  3. #3

    Default Re: How does one start Matlab in Opensuse 10.3?

    I think it's better to use linux version of matlab!
    r u doing that?
    there is a direct link to download it!

  4. #4
    Join Date
    Jan 2008
    Location
    U.K East Anglia
    Posts
    2,581

    Default Re: How does one start Matlab in Opensuse 10.3?

    Quote Originally Posted by 4joey1 View Post
    Hallo!I have installed Matlab 7.R14 on my OpenSuse 10.3 Linux.Unfortunately,when I try to run the matlab the error below appears

    MATLAB: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. Abort

    Having looked at various forums I saw a possible solution as shown below

    To solve it, make a file in your home or home/bin directory, let's say matlab.sh containing

    Code:
    #!/bin/sh
    export LIBXCB_ALLOW_SLOPPY_LOCK=1
    matlab -desktop

    and make it executable by
    Code:

    chmod +x matlab.sh
    now if you run it
    Code:

    ./matlab.sh
    you should be able to start matlab.

    I have implemented this but when I try to start matlab at the console using

    ./matlab.sh

    The following error appears

    ./matlab.sh: line 3: matlab: command not found.

    How do I solve this problem?
    Moved to Applications

    Andy
    To be is to do = Immanuel Kant
    To do is to be = Descartes.
    Do be do be do = Frank Sinatra

    SuSE user since 7.0,Linux user since 1994

  5. #5
    Join Date
    Jun 2008
    Location
    ITALY-Pavia / somewhere in the world
    Posts
    57

    Default Re: How does one start Matlab in Opensuse 10.3?

    Quote Originally Posted by emab View Post
    I think it's better to use linux version of matlab!
    r u doing that?
    there is a direct link to download it!

    is there a matlab version for OS?

    do you know where i can find it??

    i tried to run matlab with wine for days but at the moment it's not working...

Posting Permissions

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