Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: how to complete installing matlab and run it.

  1. #1
    Join Date
    Feb 2005
    Location
    israel
    Beans
    412

    how to complete installing matlab and run it.

    when you begin installing matlab and get some errors saying "access denied" don't pay attention,just go ahead.
    after you've matlab installed you probably go to the .../.../matlab7/bin/nlx86
    directory and try to run executable called MATLAB.don't do it!
    you should firstly go,right after installation,to the directory .../.../matlab7
    and run a script "install_matlab".after you run it you would be able to run matlab this way:go to the .../.../matlab7/bin/scripts/matlab(it's a script you'd run)
    and run it!
    have a nice day friends!
    pavel

  2. #2
    Join Date
    May 2005
    Location
    London
    Beans
    51

    how to complete installing matlab and run it.

    Just for completeness to our friend Pavel (thank you for the great tips by the way!)

    During my installation of Matlab coming with 3 CDs on Ubuntu Hoary (not Warty as this thread is in), I had two difficulties.

    First was simply to run the the install script on the first CD. I couldn't run the script with a simple sudo... I don't know why... So I unlocked the Root account:

    1. sudo passwd root then enter your user password and then a root password (that you need to remember!).
    2. Then switch to root via su and enter your root password.
    3. Finally I run the install script on the 1st CD: sh /cdrom/install* &

    My second difficulty came when I had to change CDs during the installation. I didn't manage to eject the CD either from the terminal or the GUI so I used the brute force that everybody knows. But when I put the second CD, I had problems for unmounting the first one and mounting the second one. So I copied all the files of the CDs to my desktop and when asked by the Matlab installer to change, I indicated not the cdrom but the created folders.

    This way I manage to install successfully Matlab on Ubuntu and it runs quite smoothly on my old laptop! And I can also say cheerfully, bye bye Windows!
    NKONSONKONSON avatar (Ghana - West Africa)
    Symbol of unity and human relations. A reminder to contribute to the community, that in unity lies strength.

  3. #3
    Join Date
    Apr 2005
    Location
    Singapore
    Beans
    9

    Still have a problem with Matlab on Ubuntu...

    Thanks a lot guys! That really helped me; I spent a lot of time trying to figure out first why Matlab didn't work at all, and then why it couldn't find a single library... Now it works, at least partially.

    However, when I try to open any new window, for example, File->Preferences, or File->New->M-file, it gives the following:

    java.lang.InternalError: Current locale is not supported
    at sun.awt.motif.MWindowPeer.pSetTitle(Native Method)
    at sun.awt.motif.MWindowPeer.init(Unknown Source)
    at sun.awt.motif.MFramePeer.<init>(Unknown Source)
    at sun.awt.motif.MToolkit.createFrame(Unknown Source)
    at java.awt.Frame.addNotify(Unknown Source)
    at com.mathworks.mwswing.MJFrame.addNotify(MJFrame.ja va:861)
    .....

    I tried a workaround 1-184MH but it didn't help. Any ideas what may be wrong?...

  4. #4
    Join Date
    Apr 2005
    Location
    Singapore
    Beans
    9

    Ok, solved it...

    I've solved the problem with the help of Matlab techsupport. They suggested I change LANG variable from whatever I had (en_SG.UTF- 8) to en. Now all GUI in Matlab works fine.

  5. #5
    Join Date
    Jul 2006
    Location
    Grenoble, France
    Beans
    1
    Distro
    Edgy Eft Testing

    Re: how to complete installing matlab and run it.

    Hi I have the same problem with java stuff and matlab...
    How did you fix it?
    I work presently with Edgy Eft and Matlab does not want to work sincy my upgrade...

    Code:
    Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Current locale is not supported
    	at sun.awt.motif.MWindowPeer.pSetTitle(Native Method)
    	at sun.awt.motif.MWindowPeer.init(Unknown Source)
    	at sun.awt.motif.MFramePeer.<init>(Unknown Source)
    	at sun.awt.motif.MToolkit.createFrame(Unknown Source)
    	at java.awt.Frame.addNotify(Unknown Source)
    	at com.mathworks.mwswing.MJFrame.addNotify(MJFrame.java:861)
    	at com.mathworks.mwswing.desk.DTFrame.addNotify(DTFrame.java:145)
    	at com.mathworks.hg.peer.FigureFrameProxy$FigureFrame.addNotify(FigureFrameProxy.java:72)
    	at java.awt.Window.show(Unknown Source)
    	at com.mathworks.mwswing.MJFrame.show(MJFrame.java:713)
    	at java.awt.Component.show(Unknown Source)
    	at java.awt.Component.setVisible(Unknown Source)
    	at com.mathworks.mwswing.MJFrame.setVisible(MJFrame.java:740)
    	at com.mathworks.mwswing.desk.DTSingleClientFrame.setVisible(DTSingleClientFrame.java:304)
    	at com.mathworks.hg.peer.FigureFrameProxy$FigureFrame.setVisible(FigureFrameProxy.java:52)
    	at com.mathworks.hg.peer.FigureFrameProxy.setVisible(FigureFrameProxy.java:152)
    	at com.mathworks.hg.peer.FigurePeer.nonDockedShow(FigurePeer.java:2522)
    	at com.mathworks.hg.peer.FigurePeer.show(FigurePeer.java:2539)
    	at com.mathworks.hg.peer.FigurePeer.doSetFigureVisible(FigurePeer.java:3373)
    	at com.mathworks.hg.peer.FigurePeer$26.run(FigurePeer.java:2581)
    	at com.mathworks.hg.util.HGPeerQueue$HGPeerRunnablesRunner.runit(HGPeerQueue.java:244)
    	at com.mathworks.hg.util.HGPeerQueue$HGPeerRunnablesRunner.runThese(HGPeerQueue.java:277)
    	at com.mathworks.hg.util.HGPeerQueue$HGPeerRunnablesRunner.run(HGPeerQueue.java:318)
    	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    	at java.awt.EventQueue.dispatchEvent(Unknown Source)
    	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.run(Unknown Source)
    I cannot find the solution to fix it... Please help me...

  6. #6
    Join Date
    Jul 2006
    Beans
    6

    Re: how to complete installing matlab and run it.

    Yo dude the answer to your prob and my prb is just losted above. Sorry for the PM I sent you.
    Just do this:
    $locale
    and if its not en_US.utf8 then change it like this:

    export LANG=en_US.UTF-8

    Add this line to .bashrc too....and enjoy Matlab..


    Theja

  7. #7
    Join Date
    Aug 2006
    Beans
    91

    Re: how to complete installing matlab and run it.

    I got Matlab installed and running. However, it requires a Terminal to start.

    If I create a launcher with the command Matlab in the Gnome-menu I just see the splash-screen and then nothing.. If I tick "run in terminal" it works fine, but I don't want a terminal window that is just there for matlab.

    Is it because of Java?

  8. #8
    Join Date
    Aug 2006
    Beans
    1

    Re: how to complete installing matlab and run it.

    try matlab -desktop.
    Have fun, Andrew

  9. #9
    Join Date
    Jun 2006
    Beans
    6

    Question Re: how to complete installing matlab and run it.

    Have Matlab a special Linux Version?

    I have the 3 Matlabs CD's but i can't find a linux installer....

  10. #10
    Join Date
    Mar 2007
    Beans
    1

    Re: how to complete installing matlab and run it.

    I have a problem with Matlab 7 on Ubuntu Edgy Eft 6.10...I have installed it correctly without problems!
    But the GUI doesn't work at all (It loads only the spash screen and an empty window)...and I've installed Java on my system...
    While, if I type
    Code:
    matlab -nojwm
    on terminal, it works finely on the command-line...
    Could you help me,please?
    So I cannot use Simulink...
    Last edited by Tanazzo; March 24th, 2007 at 10:53 PM.

Page 1 of 3 123 LastLast

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
  •