[scilab-Users] [scilab-users] stack size

Gary Nelson gnelson at quantasonics.com
Tue May 18 00:25:14 CEST 2010


Hi,
I can make this work by had, but so far not automatically

Specifically, I find that tmp(1) has the free memory.

I try 
a=tmp(1)
stacksize(a)

and get an error

-->stacksize(a)
             !--error 204 
stacksize: Wrong value for input argument #1: Scalar, 'min' or 'max' expected.

Is there some way to convince stacksize that variable 'a' is a scalar?

Thanks
 
On Apr 28, 2010, at 5:31 AM, Samuel Gougeon wrote:

> Beter than betting, you can get the instantaneous available RAM by:
> tmp=getdebuginfo(); tmp=tokens(tmp(3),":"); strtod(tmp(2))*1024
> 
> By the way, the total installed RAM is
> tmp=getdebuginfo(); tmp=tokens(tmp(2),":"); strtod(tmp(2))*1024

Gary Nelson
gnelson at quantasonics.com






More information about the users mailing list