From: Sofia Häggberg on
well guys is very strange... since:

when I type: help memory
I am to get response from Matlab as:

....
Example 1: Run the MEMORY command on a 32-bit Windows system:
....

Example 2: Run the MEMORY command on a 64-bit Windows system:
....

Example 3: Run the MEMORY command with two outputs on a 32-bit Windows system:
[uV sV] = memory
....

but when I type: memory
??? Error using ==> memory
Function MEMORY is not available on this platform.

Its kind of strange isn't it?

btw I use MAC OS X 10.6 (might this be a problem?)

Moreover I would like to execute this command:
zeros(100000, 3000);
??? Out of memory. Type HELP MEMORY for your options.

I am able to execute:
zeros(10000, 3000);

But I will be very happy if someone can let me know if it is possible somehow to execute:
zeros(100000, 3000);

thanks
From: Walter Roberson on
Sofia Häggberg wrote:
> well guys is very strange... since:
>
> when I type: help memory
> I am to get response from Matlab as:
> ....
> Example 1: Run the MEMORY command on a 32-bit Windows system:
> ....
>
> Example 2: Run the MEMORY command on a 64-bit Windows system:
> ....
>
> Example 3: Run the MEMORY command with two outputs on a 32-bit Windows
> system:
> [uV sV] = memory
> ....
>
> but when I type: memory
> ??? Error using ==> memory
> Function MEMORY is not available on this platform.
>
> Its kind of strange isn't it?
> btw I use MAC OS X 10.6 (might this be a problem?)

Not strange at all. Notice that all of the examples refer to Windows.
The memory() command is only available on Windows.

>
> Moreover I would like to execute this command:
> zeros(100000, 3000);
> ??? Out of memory. Type HELP MEMORY for your options.
>
> I am able to execute:
> zeros(10000, 3000);
>
> But I will be very happy if someone can let me know if it is possible
> somehow to execute:
> zeros(100000, 3000);

Sure. But you need 2.3 gigabytes of available memory. If you are running
a 32 bit version of Matlab then that can be fairly difficult to get --
though an old thread I found suggests that under OS-X if you have 4 Gb
of virtual memory available then you should be able to get up to 3.2 Gb
for variables. If you have less than 4 Gb of RAM installed, this may
require increasing your swap space.
http://www.mathworks.com/matlabcentral/newsreader/view_thread/150808
From: Sofia Häggberg on
"Sofia Häggberg" <hd.int.assNOSPAM(a)gmail.com> wrote in message <i3bsn5$1nl$1(a)fred.mathworks.com>...
> well guys is very strange... since:
>
> when I type: help memory
> I am to get response from Matlab as:
>
> ...
> Example 1: Run the MEMORY command on a 32-bit Windows system:
> ...
>
> Example 2: Run the MEMORY command on a 64-bit Windows system:
> ...
>
> Example 3: Run the MEMORY command with two outputs on a 32-bit Windows system:
> [uV sV] = memory
> ...
>
> but when I type: memory
> ??? Error using ==> memory
> Function MEMORY is not available on this platform.
>
> Its kind of strange isn't it?
>
> btw I use MAC OS X 10.6 (might this be a problem?)
>
> Moreover I would like to execute this command:
> zeros(100000, 3000);
> ??? Out of memory. Type HELP MEMORY for your options.
>
> I am able to execute:
> zeros(10000, 3000);
>
> But I will be very happy if someone can let me know if it is possible somehow to execute:
> zeros(100000, 3000);
>
> thanks

seems I was not clear :(
From: Walter Roberson on
Sofia Häggberg wrote:
> "Sofia Häggberg" <hd.int.assNOSPAM(a)gmail.com> wrote in message
> <i3bsn5$1nl$1(a)fred.mathworks.com>...
>> well guys is very strange... since:

> seems I was not clear :(

There were 150 postings ahead of yours from when I last caught up (23:00
Central last night); and it takes time to research the detailed
behaviour of Matlab on an OS that I have not used Matlab on myself.