Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Best OS/platform for Matlab

Subject: Best OS/platform for Matlab

From: Maurits

Date: 17 Sep, 2009 11:45:19

Message: 1 of 14

I'm going to buy a new computer on which I will do Matlab development primarily.

 I am kind of a happy mac user, but in my experience Matlab runs kind of slow on OS X and I am thus contemplating a switch to something else..

Any thoughts or ideas? Tnx!

Subject: Best OS/platform for Matlab

From: Rune Allnor

Date: 17 Sep, 2009 11:48:24

Message: 2 of 14

On 17 Sep, 13:45, "Maurits " <m.dieph...@alumnus.utwente.nl> wrote:
> I'm going to buy a new computer on which I will do Matlab development primarily.
>
>  I am kind of a happy mac user,  but in my experience Matlab runs kind of slow on OS X and I am thus contemplating a switch to something else..
>
> Any thoughts or ideas? Tnx!

Matlab *is* slow. Stick with what you are otherwise happy with.
If you want speed, use something else than matlab.

Rune

Subject: Best OS/platform for Matlab

From: arun

Date: 17 Sep, 2009 12:19:30

Message: 3 of 14

On Sep 17, 1:45 pm, "Maurits " <m.dieph...@alumnus.utwente.nl> wrote:
> I'm going to buy a new computer on which I will do Matlab development primarily.
>
>  I am kind of a happy mac user,  but in my experience Matlab runs kind of slow on OS X and I am thus contemplating a switch to something else..
>
> Any thoughts or ideas? Tnx!
That was not his question. Its about the difference across the
different platforms.

I was a windows user. Since August, I switched to Mac, I own a macbook
pro. I saw so much information on the internet as to how the same code
on a mac runs 20-100 times slower on a mac than on windows.
However, I ran a test on my code a few weeks back (before I upgraded
to Snow Leopard) on Mac OS X Leopard with 32 bit Matlab 2009a students
version against a windows 64-bit platform and Matlab 2009a students
version windows 64-bit. The run-time was very similar (my Mac was
faster a little bit, but I guess it has something to do with the
hardware configurations).
Over all, I don't see a difference in the execution time between
windows and mac. I hope matlab 2009b should be even more faster, it
also comes with a 64-bit version. My tests are preliminary at the
moment.
I would like to run a piece of code which shows *significant*
difference between windows and mac... if you have got one!

Either case, matlab 2009b should be near to perfect I believe.

Subject: Best OS/platform for Matlab

From: Sebastiaan

Date: 17 Sep, 2009 14:24:01

Message: 4 of 14

Another point of consideration: if you are planning on making MEX files, there are free C/C++/Fortran compilers for Linux (GNU and Intel), but none for Windows (apart from LCC).

Subject: Best OS/platform for Matlab

From: Bruno Luong

Date: 17 Sep, 2009 14:39:03

Message: 5 of 14

"Sebastiaan" <s.breedveld@erasmusmc.REMOVE.BOO.BOO.nl> wrote in message <h8tgq1$fkj$1@fred.mathworks.com>...
> Another point of consideration: if you are planning on making MEX files, there are free C/C++/Fortran compilers for Linux (GNU and Intel), but none for Windows (apart from LCC).

Isn't the MSVC Express Edition free?

Bruno

Subject: Best OS/platform for Matlab

From: Steve Eddins

Date: 17 Sep, 2009 15:02:16

Message: 6 of 14

Sebastiaan wrote:
> Another point of consideration: if you are planning on making MEX
> files, there are free C/C++/Fortran compilers for Linux (GNU and
> Intel), but none for Windows (apart from LCC).

Microsoft Visual Studio Express is available for free and is sufficient
for building and debugging MEX-files. I use it on my home computer.

http://www.microsoft.com/express/vc/

---
Steve Eddins
http://blogs.mathworks.com/steve/

Subject: Best OS/platform for Matlab

From: Rune Allnor

Date: 17 Sep, 2009 15:07:36

Message: 7 of 14

On 17 Sep, 17:02, Steve Eddins <Steve.Edd...@mathworks.com> wrote:
...

Hi Steve.

I've seen some rumours around that the 2nd edition of
Gonzalez, Woods and Eddins is just around the coner,
but I haven't seen any copies either at amazon.com or
in the local bookstore.

Would you mind commenting on if or when it is available?

Rune

Subject: Best OS/platform for Matlab

From: Sebastiaan

Date: 17 Sep, 2009 15:18:18

Message: 8 of 14

Steve Eddins <Steve.Eddins@mathworks.com> wrote in message <h8tj1o$3r4$1@fred.mathworks.com>...
> Sebastiaan wrote:
> > Another point of consideration: if you are planning on making MEX
> > files, there are free C/C++/Fortran compilers for Linux (GNU and
> > Intel), but none for Windows (apart from LCC).
>
> Microsoft Visual Studio Express is available for free and is sufficient
> for building and debugging MEX-files. I use it on my home computer.
>
> http://www.microsoft.com/express/vc/
>
> ---
> Steve Eddins
> http://blogs.mathworks.com/steve/

Ah, I did not know that. Sorry for my mistake.

As far as speed: I have seen no difference between Windows/Linux as far as the bench command goes.

Not sure how Windows operates on large memory usage, i.e. you need at least a 64 bit windows (which is less commonly used than 64 bit Linux).

Subject: Best OS/platform for Matlab

From: Stan Bischof

Date: 17 Sep, 2009 15:24:24

Message: 9 of 14

Maurits <m.diephuis@alumnus.utwente.nl> wrote:
> I'm going to buy a new computer on which I will do Matlab development
> primarily.
>
> I am kind of a happy mac user, but in my experience Matlab runs kind
> of slow on OS X and I am thus contemplating a switch to something
> else..
>

Now that Apple is using standard hardware there's
not much of any reason left for signficant performance
differences between the OS's. Matlab will run very similarly
on Windows, Linux and OSX in most cases.

So- platform choice should probably be centered on
other issues such as:
- what other apps do you need/want to run?
- which toolboxes do you want? Not all toolboxes are
  available on all platforms.
- do you need to compile code for others to use?

Stan

Subject: Best OS/platform for Matlab

From: Loren Shure

Date: 17 Sep, 2009 15:51:54

Message: 10 of 14

In article <03091753-da87-43e4-b2d6-33d7be51e0b4
@p9g2000vbl.googlegroups.com>, allnor@tele.ntnu.no says...
> On 17 Sep, 17:02, Steve Eddins <Steve.Edd...@mathworks.com> wrote:
> ...
>
> Hi Steve.
>
> I've seen some rumours around that the 2nd edition of
> Gonzalez, Woods and Eddins is just around the coner,
> but I haven't seen any copies either at amazon.com or
> in the local bookstore.
>
> Would you mind commenting on if or when it is available?
>
> Rune
>

I believe now: http://imageprocessingplace.com/DIPUM-
2E/dipum2e_main_page.htm


--
Loren
http://blogs.mathworks.com/loren

Subject: Best OS/platform for Matlab

From: Jveer

Date: 17 Sep, 2009 16:56:26

Message: 11 of 14

matlab r2009b
macbook pro
vista 64 sp1 via bootcamp

r2009b is reasonably fast on snow leopard but on the same macbook pro it runs significantly faster on vista 64 sp1

r2009b on snow leopard is still very good though. lotsa improvements specially with the 3d visualizations compared to r2009a!

Subject: Best OS/platform for Matlab

From: Steve Eddins

Date: 18 Sep, 2009 11:18:21

Message: 12 of 14

Rune Allnor wrote:
> On 17 Sep, 17:02, Steve Eddins <Steve.Edd...@mathworks.com> wrote:
> ...
>
> Hi Steve.
>
> I've seen some rumours around that the 2nd edition of
> Gonzalez, Woods and Eddins is just around the coner,
> but I haven't seen any copies either at amazon.com or
> in the local bookstore.
>
> Would you mind commenting on if or when it is available?
>
> Rune

Hi Rune,

Thanks for asking. It is available. Here's the Amazon link:

http://www.amazon.com/Digital-Image-Processing-Using-MATLAB/dp/0982085400/

Here's the web site for the book:

http://www.imageprocessingplace.com

---
Steve Eddins
http://blogs.mathworks.com/steve/

Subject: Best OS/platform for Matlab

From: mklcst Costola

Date: 30 Sep, 2009 21:38:01

Message: 13 of 14

"Jveer " <jveer@jveer.com> wrote in message <h8tpnq$kg1$1@fred.mathworks.com>...
> matlab r2009b
> macbook pro
> vista 64 sp1 via bootcamp
>
> r2009b is reasonably fast on snow leopard but on the same macbook pro it runs significantly faster on vista 64 sp1
>
> r2009b on snow leopard is still very good though. lotsa improvements specially with the 3d visualizations compared to r2009a!


I really don't know.. I'm using this configuration

> matlab r2009b
> macbook pro
> vista 64 sp1 via bootcamp

The speed is the same that I had using Matlab r2008b with xp virtualized by VMware!!
And this is not the main problem, I can't use CUDA extension because it seems to have trouble with vista 64.
I think I'll switch soon to linux...

Subject: Best OS/platform for Matlab

From: Dmitry

Date: 29 Jul, 2010 17:03:05

Message: 14 of 14

I think that the question of performance vs. OS does require clarifications. In fact, this question is explicitly stated here:
http://www.mathworks.com/support/solutions/en/data/1-18C2A/index.html
but it is never answered.
I think that it would be valuable if Mathworks spend some time comparing the performance across various operating systems (given particular hardware) and give us a definitive answer...

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us