Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    12

    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
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Where is matlab installed?

    It must be in the path or you must use the full path to file.

Posting Permissions

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