PDA

View Full Version : matlab on ubuntu


NiTsi
January 24th, 2006, 08:44 AM
i want to install matlab in my ubuntu.can anyone tell me if i can install version 7 on ubuntu. Furthermore i want to know if i can find it for free....

madu
January 24th, 2006, 09:35 AM
You will never get Matlab for free...!!!
I think there is a Linux version of Matlab.. If you want Matlab for free you can try Freemat.. or Scilab (I think..)..

Adrian
January 24th, 2006, 09:40 AM
If you want Matlab for free you can try Freemat.. or Scilab (I think..)..

Or Octave (http://www.octave.org/)...

Iesos
January 24th, 2006, 09:42 AM
What I know of, most contries consider it a fellony to "steal" software.
And you won't get it for free without breking some laws (but it is possible, but I dont recomend it).
You should instead install Octave. Its a free software that is just like MATLAB, commands and everything. The only difference is that Octave has some plotting problems.
Take a look at: http://www.octave.org/

Adrian
January 24th, 2006, 09:46 AM
i want to install matlab in my ubuntu.can anyone tell me if i can install version 7 on ubuntu. Furthermore i want to know if i can find it for free....

Yes, you can. If you are a student, there are student versions available for a small amount of money (you have to buy them from your local university/school though).

Adrian
January 24th, 2006, 09:53 AM
The only difference is that Octave has some plotting problems.
Take a look at: http://www.octave.org/

There are a lot more differences, especially if you consider all non-free toolboxes that you can buy for Matlab. However, for a lot of users, Octave is more than enough.

ubuntuuser
January 24th, 2006, 07:58 PM
i want to install matlab in my ubuntu.can anyone tell me if i can install version 7 on ubuntu. Furthermore i want to know if i can find it for free....
As the others already said, you won't find it for free...

...unless you are a student and your university has licenses for students. My uni for example has setup a license server, so when I am online (and I always am), Matlab contacts the server and gets a license. Your university software department has to give you an initial license file before you can install it, but after that it's just like installing a program in Windoze, nice graphical installer and stuff. And it works fine, just like the Win version, I use Matlab 7 R14.

NiTsi
January 29th, 2006, 07:43 AM
Thanks guys for your answers.You broke my heart since noone told me a good solution. Octave is not enough and my university doesn't give licenses to students for matlab.Apart from all these i know it is illegal to steal software. Anyway i've heard for cases who put matlab in their linux only by "making"/"changing"/"hacking" the license.

phen
January 29th, 2006, 08:30 AM
try scilab. it is slow compared to matlab, but if you don't need serious number crunching power, it is fast enough by far. it is developed by a french university (i think), and runs just fine. there's even a free simulink add on. maybe you find other toolboxes, too!

mirna
January 30th, 2006, 04:01 AM
Actually the student version costs ~ US $100. I know because I have one.
I need help on setting matlab mode in emacs.
I got the matlab.el and compiled it into .elc file. I put these into
\usr\share\emacs\site-lisp
directory of my hoary.
I read on the web that I need to edit .emacs file, but I don't know how to edit it, and I'm not sure if I put the .el and .elc files into the right directory. I compiled .el into .elc inside emacs. I have no knowledge of lisp.
Please, help!!!

Mirna

punchy
February 14th, 2006, 01:38 PM
Hi,

I was in your position exactly. And I do believe I have a good answer: python.

its free, very well supported, and evolving rapidly.

Python has modules which you can load.

One of these is called "numeric", or "scipy". there are tons of other with which you can e.g. plot (e.g. 'biggles').. with the numeric python, you have commands which are matrix oriented, just like in matlab. and many functions for fitting, optimization, solving differential equations or eigenvalue problems are included as well.

google the following: (and this is just a small selection)

scipy
python
vaults of parnassus

have fun,
punchy

hizaguchi
March 29th, 2006, 09:42 PM
One possibility is that your department office may have a loaner student copy of Matlab. Mine did, but it was version 4.0.

Another thing to check for would be to see if your school has a server for running research software remotely via ssh (or ssh -X). My university has just about everything I could ever need on their servers... even office applications.

But I'm really curious what you're doing that Octave can't handle without a little ingenuity. Granted, I don't do alot of Matlab type work, but I've actually started to consider Octave to be superior, not just a free alternative. It supports some useful coding that Matlab does not (or at least, that I don't know how to do in Matlab), and if you upgrade to Dapper you can get kOctave out of the repositories and enjoy a much better editor than what comes with Matlab. Then there is the documentation, which I have found to be much friendlier. And most importantly... the "Save and run" button!

[h2o]
April 25th, 2006, 01:03 PM
Matlab Student Version doesn't have to cost much at all, depending on the niceness of your university. My Matlab 7 cost me about 7$. Now I just have to install it on Ubuntu, which proved to be a bit harder than necessary :neutral:

mips
April 25th, 2006, 01:58 PM
http://www.ubuntuforums.org/showthread.php?t=29919
http://www.ubuntuforums.org/showthread.php?t=142557
https://wiki.ubuntu.com/UbuntuScientists
https://wiki.ubuntu.com/MATLAB

leeyee
May 11th, 2006, 04:11 AM
I was in your position too! But now I have decided to use Scilab as an alternative, I have MATLAB CDs here, but they are pirated! I won't use it anymore. Under linux, you can use many thing for free, and freedom.
Actually, Scilab is a really good software, and it has some useful toolboxes such as Signal Processing etc. My major is Information Engineering, so it's enough for me. To be honest, I don't like Octave and don't recommend you to use it either. It has some problems when plotting curves and it has no GUI under GNOME (There is one for KDE if i recall). What's more, It has no changes these monthes actually.

u04f061
May 31st, 2006, 10:28 PM
I was in your position too! But now I have decided to use Scilab as an alternative, I have MATLAB CDs here, but they are pirated! I won't use it anymore. Under linux, you can use many thing for free, and freedom.
Actually, Scilab is a really good software, and it has some useful toolboxes such as Signal Processing etc. My major is Information Engineering, so it's enough for me. To be honest, I don't like Octave and don't recommend you to use it either. It has some problems when plotting curves and it has no GUI under GNOME (There is one for KDE if i recall). What's more, It has no changes these monthes actually.

problem with me in using scilab is that i can't read the font it offers.can u tell me how can i change the font of main command line of scilab?

do u use the same unreadable font or have changed?

BaffledMollusc
June 3rd, 2006, 09:37 PM
']Matlab Student Version doesn't have to cost much at all, depending on the niceness of your university. My Matlab 7 cost me about 7$. Now I just have to install it on Ubuntu, which proved to be a bit harder than necessary :neutral:
Can you (or anybody else) tell me if you got it working under Ubuntu 6.06? I haven't managed it yet - I'm still stuck on the error where it says

*** glibc detected *** malloc(): memory corruption: 0x000000000059b770 ***
Aborted

when you try to run it. This is with an AMD64 install of Dapper, if it makes any difference.

girishsasikumar
May 4th, 2008, 06:26 AM
Well I am an old user of matlab and a fairly new user of Ubuntu, and the sticky part of ubuntu was that I could not run matlab. And for people doing work on EEE or DSP or Control system projects matlab is a life line........i spent quiet a lot of time searching and working to get matlab running on ubuntu....
So here it is
I have used Ubuntu Hardy Heron final release with wine and Java Virtual machine Installed in wine......
Well I used matlab 6.1 installed in my windows drives.......dunno about newer ones.....but should work........


Open 'Applications\Wine\Browse C:\drive'
Copy 'C:\program files\matlab' or wherever else the matlab installation is in windows
Paste it to wine\c_drive\program files
open '\....\matlab\bin\win32\license.dat' with a text editor
You will see a line something like this
INCREMENT Optimization_Toolbox MLM 12 01-jan-0000 uncounted \ 2B90825F7119 HOSTID=DISK_SERIAL_NUM=8b856f8 PLATFORMS=i86_n \
copy the disk serial number eg 8b856f8
open 'Applications\Wine\configure wine'
in the 'Applications tab' choose 'Add application'
browse and select '\....\wine\c_drive\program files\matlab\bin\win32\matlab.exe'
choose windows xp as the operating system
in the 'drivers' tab select 'show advanced'
in the drive c label and serial number, set to 'manual assign'
paste the drive serial number you copied from license.dat into the 'serial' field and click apply
now if u run the matlab.exe file in \wine\c_drive\programfiles\matlab\bin\win32 it should work


well it worked for me..........
I tested out quiet a few matlab commands and MPC tool boxes in simulink, they worked very well, actually faster than in my windows install

now for the useless part of the discussion.........

u could add matlab to the applications tab, by adding a custom application launcher to your applications tab, and change the icon of the launcher to the cool matlab icon we all like and love from \wine\c_drive\program files\matlab\bin\win32\matlab.ico

hope u like this solution !!!!

and a cool foto of matlab in ubuntu..........

http://picasaweb.google.com/girishsasikumar/Ubuntu/photo#5196465951775072962

well i cant upload the foto.......

so here is the link
http://picasaweb.google.com/girishsasikumar/Ubuntu/photo#5196465951775072962

anaGP
May 27th, 2008, 09:02 AM
HELP ME!!!!
I have installed matlab 7 on linux. Use the distribution kubuntu (Ubuntu 8,04 kernel 2.6.24 - 16 - generic).
Matlab does not recognize mex - setup (it gives a license error -2). But in line of command of linux yes works well mex -setup.
Also when I want to use guide, it does not work (it gives license error -2).
I followed the installation passages that I found in forums and I do not see differences with which I did Somebody can give some suggestion me? Will be that I need some license?
Somebody has the license of the Matlab 7 R14 that can command to me by mail?
Thank you very much
AnaGP

linuxnovice
June 9th, 2008, 05:49 PM
One more possibility is that if you know Python, you could use the extentions Scipy and Numpy. http://www.scipy.org.

Buzzdee
June 12th, 2008, 06:18 AM
I installed Matlab 7 (R14 if I recall correctly) without issues on Gutsy x86 64-bit using the graphical installer and the procedure in the instructions. Works like a charm.

aumi_khan
June 13th, 2008, 04:07 PM
hi,
i know it is not good but sometime we need to do this kind of things.
you can download the latest version of MATLAB from torrent.
i am an engineering student and i need to use MATLAB because in my university, they use MATLAB and some commands are not same on MATLAB, Octave or Scilab.

fmonjaraz
June 25th, 2008, 03:01 AM
Torrentz!!!!!!!!! Matlab 2008 works great under hardy..much better than any open software..