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:
64-bit Matlab scripts on 32-bit Matlab?

Subject: 64-bit Matlab scripts on 32-bit Matlab?

From: Mateusz

Date: 23 Feb, 2014 18:12:07

Message: 1 of 4

Hello,

I wish to use script which perform some simple calculations on NetCDF variables and store result values as a matrix. Author claims that script needs 64-bit MATLAB version installed on Linux machine.

Unfortunately, although I have 64-bit machine, under Linux I have access to 32-bit MATLAB only.
Following warning is returned:

Error using class
The CLASS function must be called from a class constructor.

Could you tell me:
- what (in terms of syntax, available functions, methods, objects) are the differences between 64-bit and 32-bit MATLAB?
- is it possible to workaround such problems in 32-bit MATLAB?
- will it be possible to run mentioned script in 64-bit MATLAB under Windows?

Subject: 64-bit Matlab scripts on 32-bit Matlab?

From: John D'Errico

Date: 23 Feb, 2014 19:05:06

Message: 2 of 4

"Mateusz" wrote in message <leddln$pfc$1@newscl01ah.mathworks.com>...
> Hello,
>
> I wish to use script which perform some simple calculations on NetCDF variables and store result values as a matrix. Author claims that script needs 64-bit MATLAB version installed on Linux machine.
>
> Unfortunately, although I have 64-bit machine, under Linux I have access to 32-bit MATLAB only.
> Following warning is returned:
>
> Error using class
> The CLASS function must be called from a class constructor.
>
> Could you tell me:
> - what (in terms of syntax, available functions, methods, objects) are the differences between 64-bit and 32-bit MATLAB?
> - is it possible to workaround such problems in 32-bit MATLAB?
> - will it be possible to run mentioned script in 64-bit MATLAB under Windows?

I'd suggest that trying to figure out a complete list of differences
might be a waste of time. After all, most differences would be
of no meaning here.

Anyway, a large part of the difference will be simply the ability
to use larger arrays, a larger address space, UNLESS the issue
is really that you need to use an up to date version.

The error message suggests that is really the issue. What
MATLAB release is your 32 bit installation?

So if it is as I suspect, that it is a release issue, there are MANY
changes between releases that MAY be pertinent, but again,
too many for an exhaustive list here and too many changes
that would be totally unimportant to you.

John

Subject: 64-bit Matlab scripts on 32-bit Matlab?

From: Mateusz

Date: 24 Feb, 2014 10:59:08

Message: 3 of 4

John,

thank for your response.
As I can see, mentioned script "Requires 64-bit Matlab, version 2009a".
I have 32-bit, R2012a Student version.

Subject: 64-bit Matlab scripts on 32-bit Matlab?

From: Steven Lord

Date: 24 Feb, 2014 15:04:24

Message: 4 of 4


"Mateusz " <matandkedRMVME@gmail.com> wrote in message
news:lef8lr$6jl$1@newscl01ah.mathworks.com...
> John,
>
> thank for your response. As I can see, mentioned script "Requires 64-bit
> Matlab, version 2009a".
> I have 32-bit, R2012a Student version.

That error message suggests that the problem is not a version or 32/64 bit
difference, but that some file is not in the correct location. But since you
have release R2012a, most or all of the functions on this page should be
present in your installation.

http://www.mathworks.com/help/matlab/ref/netcdf.html

Find the version of that page in your installation's documentation for a
list of exactly which of these functions are available (some may have been
introduced in release R2012b or later.) If you're using those scripts to
read in the NetCDF files, try using the functions provided in MATLAB
instead.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

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