Thread Subject: Am I running under 32-bits or 64-bits?

Subject: Am I running under 32-bits or 64-bits?

From: Frederic Moisy

Date: 14 Nov, 2007 14:58:03

Message: 1 of 3

I have to use both the 32-bits and the 64-bits versions of
Matlab 7.5 under Windows 64-bits (I need the 64-bits version
to handle large data sets, but I also need the 32-bits
version to run a specific DLL which is not compatible with
64-bits).

My problem is: How may a Matlab script or function know
whether it is executed under 32 or 64 bits? This
information is not present when typing 'ver'.

Thanks!
F.

Subject: Am I running under 32-bits or 64-bits?

From: Randy Poe

Date: 14 Nov, 2007 15:56:44

Message: 2 of 3

On Nov 14, 9:58 am, "Frederic Moisy" <moisy.nos...@fast.u-psud.fr>
wrote:
> I have to use both the 32-bits and the 64-bits versions of
> Matlab 7.5 under Windows 64-bits (I need the 64-bits version
> to handle large data sets, but I also need the 32-bits
> version to run a specific DLL which is not compatible with
> 64-bits).
>
> My problem is: How may a Matlab script or function know
> whether it is executed under 32 or 64 bits? This
> information is not present when typing 'ver'.
>

Look at HELP COMPUTER and see if that has the
information you want. For instance, on Windows systems
it looks like it's supposed to return 'PCWIN64' for
64-bit systems.

             - Randy

Subject: Am I running under 32-bits or 64-bits?

From: Frederic Moisy

Date: 14 Nov, 2007 16:09:54

Message: 3 of 3

Thank you!!
F.

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

Contact us at files@mathworks.com