Fedora Linux Support Community & Resources Center
Old 19th July 2007, 09:55 AM
ghool Offline
Registered User
Join Date: Jul 2007
Posts: 2
Question Matlab in fc6

i have a problem with matlab in fc6 and fc5
when i am running matlab in the run command(Alt+F2), it started and then after a second it closed automatically.
but when i start it from shell command i haven't any problem and it worked successfully.
(sorry for my bad English writing (if it is bad!!!), i am trying to improve it )
Reply With Quote
Old 1st August 2007, 04:51 PM
thinkgeek's Avatar
thinkgeek Offline
Registered User
Join Date: Jul 2007
Posts: 27
When you type the command in the run command, add the "-desktop" tag. I came across this solution when I was looking over the Ubuntu forums.

Reply With Quote
Old 2nd August 2007, 06:45 AM
ghool Offline
Registered User
Join Date: Jul 2007
Posts: 2
Question but why

thanks for your comment, but my question is why?? why this happened?? is it bug?
Reply With Quote
Old 2nd August 2007, 07:08 AM
thinkgeek's Avatar
thinkgeek Offline
Registered User
Join Date: Jul 2007
Posts: 27
I can't really say that I knew WHY it is like this. I can only go on what I've read so far, which was I read in the Ubuntu Forum that I posted which states that Matlab (by default) relies on a "control terminal" to be open for it for it to run. I don't know if this is the exact reason for it, but it would seem to make sense.

Anyway, when you run it with the tag "-desktop" it must go into some other mode that doesn't rely on a "control terminal". There are many reasons for starting Matlab with different tags. I have to run Matlab with the "-glnx86" tag because Mathworks has yet to make a 64-bit Student version (the tech guy said something about them not thinking students would be running 64-bit systems, either that's not the entire truth or they don't really know students too well!). Without that tag, Matlab will try to launch 64-bit Matlab and won't work because I simply don't have 64-bit Matlab installed.

If you try to type just "matlab" in a Run Command, it will look for a "control terminal", since it is not there, it won't work. When you add the tag "-desktop" it will not require that the terminal be open. It just starts in a different mode, thats all.

The "control terminal" method is probably set to default because that is the only way that you will get any feedback from Matlab if it has to close. That's my take on it anyway. I would not say that it is a "bug", that's for sure.
Reply With Quote

fc6, matlab

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
matlab jani1982 Programming & Packaging 2 2nd May 2008 11:49 PM
MatLab swat986 Using Fedora 1 14th October 2007 05:13 AM
Matlab On Fc5 ekin Using Fedora 4 25th April 2006 08:14 PM
Matlab 7 on FC3 64 bit. richchase Using Fedora 6 13th March 2005 08:08 PM

Current GMT-time: 15:39 (Sunday, 24-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat