Thread Subject: Installing Matlab on a new PC, 64 bit or 32bit?

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: Luna Moon

Date: 28 Feb, 2009 06:39:00

Message: 1 of 11

New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,

Shall I install the 64 bit version of Matlab , or the 32bit version?

Suppose my ultimate goal is the computational speed...?

Do I have to get another 4GB RAM to maximize its performance?

Thanks!

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: Bruno Luong

Date: 28 Feb, 2009 09:44:01

Message: 2 of 11

Luna Moon <lunamoonmoon@gmail.com> wrote in message <eddc3833-bb12-4e65-ab9a-441d974245ff@k19g2000prh.googlegroups.com>...
> New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,
>
> Shall I install the 64 bit version of Matlab , or the 32bit version?
>
> Suppose my ultimate goal is the computational speed...?
>
> Do I have to get another 4GB RAM to maximize its performance?
>

It depends on your application. If you need to create large matrix, then it is better to use 64 bit. Otherwise 32 bit is OK.

Don't forget you might get a headeach trying to setup a correct configuration for compiling 64 bits mex or mcc.

Bruno

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: LunaMoon

Date: 28 Feb, 2009 14:46:02

Message: 3 of 11

On Feb 28, 1:44=A0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
wrote:
> Luna Moon <lunamoonm...@gmail.com> wrote in message <eddc3833-bb12-4e65-a=
b9a-441d97424...@k19g2000prh.googlegroups.com>...
> > New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,
>
> > Shall I install the 64 bit version of Matlab , or the 32bit version?
>
> > Suppose my ultimate goal is the computational speed...?
>
> > Do I have to get another 4GB RAM to maximize its performance?
>
> It depends on your application. If you need to create large matrix, then =
it is better to use 64 bit. Otherwise 32 bit is OK.
>
> Don't forget you might get a headeach trying to setup a correct configura=
tion for compiling 64 bits mex or mcc.
>
> Bruno

Really? What troubles will I encounter when building 64 bit mex or mcc
on Windows?

Thanks so much for your reminder. I realize that there are a few 3rd
party software package that I use along with Matlab,

I have to probably stay with 32 bit version, I guess.

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: LunaMoon

Date: 28 Feb, 2009 15:12:16

Message: 4 of 11

On Feb 28, 1:44=A0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
wrote:
> Luna Moon <lunamoonm...@gmail.com> wrote in message <eddc3833-bb12-4e65-a=
b9a-441d97424...@k19g2000prh.googlegroups.com>...
> > New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,
>
> > Shall I install the 64 bit version of Matlab , or the 32bit version?
>
> > Suppose my ultimate goal is the computational speed...?
>
> > Do I have to get another 4GB RAM to maximize its performance?
>
> It depends on your application. If you need to create large matrix, then =
it is better to use 64 bit. Otherwise 32 bit is OK.
>
> Don't forget you might get a headeach trying to setup a correct configura=
tion for compiling 64 bits mex or mcc.
>
> Bruno

I have a bunch of homemade mex files, which I previously made using VC+
+ under 32 bit,

will they run from within the 64bit Matlab that I am installing?

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: LunaMoon

Date: 28 Feb, 2009 15:14:34

Message: 5 of 11

On Feb 28, 7:12=A0am, LunaMoon <lunamoonm...@gmail.com> wrote:
> On Feb 28, 1:44=A0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
> wrote:
>
> > Luna Moon <lunamoonm...@gmail.com> wrote in message <eddc3833-bb12-4e65=
-ab9a-441d97424...@k19g2000prh.googlegroups.com>...
> > > New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,
>
> > > Shall I install the 64 bit version of Matlab , or the 32bit version?
>
> > > Suppose my ultimate goal is the computational speed...?
>
> > > Do I have to get another 4GB RAM to maximize its performance?
>
> > It depends on your application. If you need to create large matrix, the=
n it is better to use 64 bit. Otherwise 32 bit is OK.
>
> > Don't forget you might get a headeach trying to setup a correct configu=
ration for compiling 64 bits mex or mcc.
>
> > Bruno
>
> I have a bunch of homemade mex files, which I previously made using VC+
> + under 32 bit,
>
> will they run from within the 64bit Matlab that I am installing?

Which version is faster?

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: Bruno Luong

Date: 28 Feb, 2009 15:36:01

Message: 6 of 11

LunaMoon <lunamoonmoon@gmail.com> wrote in message <72b40e48-bdcb-4985-a791-60110b51520e@e36g2000prg.googlegroups.com>...
> On Feb 28, 1:44=A0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
> wrote:
> > Luna Moon <lunamoonm...@gmail.com> wrote in message <eddc3833-bb12-4e65-a=
> b9a-441d97424...@k19g2000prh.googlegroups.com>...
> > > New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,

> I have a bunch of homemade mex files, which I previously made using VC+
> + under 32 bit,
>
> will they run from within the 64bit Matlab that I am installing?

No. And Matlab does not provide 64 bit C compiler.

You have to dig to third party compilers, some of them (Microsoft to avoid citing any company name) requires a huge SDK package, etc...

Some of the complex code might be a pain to convert to 64 bits. I still have few of them that I have not time to convert yet, though I have a 64-bit machine since 6 months.

 Bruno

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: LunaMoon

Date: 28 Feb, 2009 15:50:51

Message: 7 of 11

On Feb 28, 7:36=A0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
wrote:
> LunaMoon <lunamoonm...@gmail.com> wrote in message <72b40e48-bdcb-4985-a7=
91-60110b515...@e36g2000prg.googlegroups.com>...
> > On Feb 28, 1:44=3DA0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
> > wrote:
> > > Luna Moon <lunamoonm...@gmail.com> wrote in message <eddc3833-bb12-4e=
65-a=3D
> > b9a-441d97424...@k19g2000prh.googlegroups.com>...
> > > > New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,
> > I have a bunch of homemade mex files, which I previously made using VC+
> > + under 32bit,
>
> > will they run from within the 64bitMatlabthat I am installing?
>
> No. AndMatlabdoes not provide64bitC compiler.
>
> You have to dig to third party compilers, some of them (Microsoft to avoi=
d citing any company name) requires a huge SDK package, etc...
>
> Some of the complex code might be a pain to convert to64bits. I still hav=
e few of them that I have not time to convert yet, though I have a64-bitmac=
hine since 6 months.
>
> =A0Bruno

Wierd, I installed the Matlab,

the whole process Matlab didn't ask me to choose between 64 bit and 32
bit versions...

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: LunaMoon

Date: 28 Feb, 2009 15:53:28

Message: 8 of 11

On Feb 28, 7:36=A0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
wrote:
> LunaMoon <lunamoonm...@gmail.com> wrote in message <72b40e48-bdcb-4985-a7=
91-60110b515...@e36g2000prg.googlegroups.com>...
> > On Feb 28, 1:44=3DA0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
> > wrote:
> > > Luna Moon <lunamoonm...@gmail.com> wrote in message <eddc3833-bb12-4e=
65-a=3D
> > b9a-441d97424...@k19g2000prh.googlegroups.com>...
> > > > New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,
> > I have a bunch of homemade mex files, which I previously made using VC+
> > + under 32bit,
>
> > will they run from within the 64bitMatlabthat I am installing?
>
> No. AndMatlabdoes not provide64bitC compiler.
>
> You have to dig to third party compilers, some of them (Microsoft to avoi=
d citing any company name) requires a huge SDK package, etc...
>
> Some of the complex code might be a pain to convert to64bits. I still hav=
e few of them that I have not time to convert yet, though I have a64-bitmac=
hine since 6 months.
>
> =A0Bruno



So are you saying that you are using a 64 bit version Matlab but you
call mex files which were previously compiled to be 32 bit, and
everything is okay?

That's actually good:

When 64bit is available, you use the 64bit portion; if not, (for
example, no time to do the conversion, or too troublesome to convert,
etc.), then the 64 bit Matlab will run the 32bit mex smoothly...

Is that the case?

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: Bruno Luong

Date: 28 Feb, 2009 16:00:19

Message: 9 of 11

LunaMoon <lunamoonmoon@gmail.com> wrote in message <8a0ecd17-dda2-4cde-800e-c97a6b1c998b@v5g2000prm.googlegroups.com>...
> On Feb 28, 7:36=A0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
> wrote:
> > LunaMoon <lunamoonm...@gmail.com> wrote in message <72b40e48-bdcb-4985-a7=
> 91-60110b515...@e36g2000prg.googlegroups.com>...
> > > On Feb 28, 1:44=3DA0am, "Bruno Luong" <b.lu...@fogale.findmycountry>
> > > wrote:
> > > > Luna Moon <lunamoonm...@gmail.com> wrote in message <eddc3833-bb12-4e=
> 65-a=3D
> > > b9a-441d97424...@k19g2000prh.googlegroups.com>...
> > > > > New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,
> > > I have a bunch of homemade mex files, which I previously made using VC+
> > > + under 32bit,
> >
> > > will they run from within the 64bitMatlabthat I am installing?
> >
> > No. AndMatlabdoes not provide64bitC compiler.
> >
> > You have to dig to third party compilers, some of them (Microsoft to avoi=
> d citing any company name) requires a huge SDK package, etc...
> >
> > Some of the complex code might be a pain to convert to64bits. I still hav=
> e few of them that I have not time to convert yet, though I have a64-bitmac=
> hine since 6 months.
> >
> > =A0Bruno
>
>
>
> So are you saying that you are using a 64 bit version Matlab but you
> call mex files which were previously compiled to be 32 bit, and
> everything is okay?

No. I actually reply. mex32 cannot run of Matlab 64 bits. Hope it's clear.
>
> That's actually good:
>
> When 64bit is available, you use the 64bit portion; if not, (for
> example, no time to do the conversion, or too troublesome to convert,
> etc.), then the 64 bit Matlab will run the 32bit mex smoothly...
>
> Is that the case?

No and no. mex32 runs on Matlab-32; mex64 runs on Matlab-64. No mixing possible. Hope it's even clearer.

Bruno

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: Thanh Pham

Date: 28 Oct, 2009 13:44:02

Message: 10 of 11

1.How do I install matlab 2008b on new laptop with windows7 as 32 bit?
2.How do I convert mexw32 to mexw64?

Thanks for your help
Thanh

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <gob111$hht$1@fred.mathworks.com>...
> Luna Moon <lunamoonmoon@gmail.com> wrote in message <eddc3833-bb12-4e65-ab9a-441d974245ff@k19g2000prh.googlegroups.com>...
> > New Dell PC, Intel Quad Core 2.66GHz, 4GB RAM memory,
> >
> > Shall I install the 64 bit version of Matlab , or the 32bit version?
> >
> > Suppose my ultimate goal is the computational speed...?
> >
> > Do I have to get another 4GB RAM to maximize its performance?
> >
>
> It depends on your application. If you need to create large matrix, then it is better to use 64 bit. Otherwise 32 bit is OK.
>
> Don't forget you might get a headeach trying to setup a correct configuration for compiling 64 bits mex or mcc.
>
> Bruno

Subject: Installing Matlab on a new PC, 64 bit or 32bit?

From: Thanh Pham

Date: 28 Oct, 2009 14:09:03

Message: 11 of 11

How do I install matlab 2008b as 32bit on new vaio laptop with preinstall windows 7 .
I think that it did not ask me if I want to install as 32 bit or 64 bit. It just install as 64 bit.
Should I uninstall it, and reinstall it as 32 bit, and how?
I play with ECRobot NXT for mindstorms, with a lot of mexw32. Now it ‘s not work anymore.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com