Results 1 to 7 of 7

Thread: [Howto] make Simulink 6 run (Matlab Version 7.0.0.19901 (R14))

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Location
    Berlin, Europe
    Beans
    213
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    [Howto] make Simulink 6 run (Matlab Version 7.0.0.19901 (R14))

    Hello all,

    I didn't find help in these forums, but on a french site. Now I am very proud that I really did understand the french howto.

    Original Thread in french

    Since I allready asked in another thread, I want to give you a translation in case anybody else has the same problem.

    Problem: when I try to start simulink, matlab crashes with an error that libXft.so.1 is missing. The error is in the first lines of text matlab writes down when it crashes. I didnt record the error message, it is something like:

    Can't load '/usr/local/My_install/matlab/bin/glnx86/libmwsimulink.so': /usr/lib/libXft.so.1: no such file
    the following steps assume that matlab is installed in
    /usr/local/matlab7


    To solve this, follow this:
    Code:
    sudo apt-get install libXft2
    this should install you the libXft.so.2 files.

    now link the older libXft.so.1 to the newer files

    Code:
    sudo ln -s /usr/lib/libXft.so.2.1.2 /usr/lib/libXft.so.1
    Now a different error should appear when trying to start simulink:

    ??? Can't load '/usr/local/My_install/matlab/bin/glnx86/libmwsimulink.so': /usr/local/My_install/matlab/bin/glnx86/libqt-mt.so.3: undefined symbol: XftFreeTypeOpen
    backup your old qt-mt lib

    sudo mv /usr/local/matlab7/bin/glnx86/libqt-mt.so.3 /usr/local/matlab7/bin/glnx86/libqt-mt.so.3.old
    now again another error appears when trying to start simulink.

    fix it with

    Code:
    sudo mv /usr/local/matlab7/sys/os/glnx86/libgcc_s.so.1 /usr/local/matlab7/sys/os/glnx86/libgcc_s.so.1.old
    now it works.

    hope I could help!

    bye
    Last edited by phen; November 28th, 2007 at 09:12 PM.

  2. #2
    Join Date
    Jun 2006
    Beans
    9

    Re: [Howto] make Simulink 6 run (Matlab Version 7.0.0.19901 (R14))

    Thank you sir/lady, you are my hero for today.

  3. #3
    Join Date
    Aug 2006
    Location
    Kharagpur, India
    Beans
    16
    Distro
    Ubuntu 6.06

    Re: [Howto] make Simulink 6 run (Matlab Version 7.0.0.19901 (R14))

    thanks a lot. it works on my debian as well.

    ravi.

  4. #4
    Join Date
    Apr 2008
    Beans
    149

    Re: [Howto] make Simulink 6 run (Matlab Version 7.0.0.19901 (R14))

    I'm having a really weird problem with simulink on Matlab r2008a (7.6) Everytbing takes about 30 seconds to happen, and when I have objects in my field, I can't double click on them to set their properties. Has anyone else seen anything like this before?

  5. #5
    Join Date
    Aug 2010
    Beans
    1

    Re: [Howto] make Simulink 6 run (Matlab Version 7.0.0.19901 (R14))

    Thanks! It Works.

  6. #6
    Join Date
    May 2008
    Beans
    18

    Re: [Howto] make Simulink 6 run (Matlab Version 7.0.0.19901 (R14))

    On a 64bit ubuntu you need to:

    Code:
    sudo mv /usr/local/matlab7/bin/glnxa64/libqt-mt.so.3 /usr/local/matlab7/bin/glnxa64/libqt-mt.so.3.old

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
  •