Prev: Please help - Problem in Calling Matlab functions from C++
Next: How to get back data using Calllib to DLL
From: us on 26 Feb 2010 14:12 "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <hm966l$6pd$1(a)fred.mathworks.com>... > Are you running a dinosaur Matlab without Mat-file compression us? Mine (2010A) gives this: > > disp([sifile.bytes;sjfile.bytes]) > 354319 > 185892 > > Bruno well, bruno, THAT is disturbing... we're (mostly) using r2009b... let me look at our -stuff- urs
From: Matt J on 26 Feb 2010 14:16 Here's a more extreme example to make the point. >> [c,m]=computer; >> A=sprand((m-3)/4+1,1,.0001); This matrix doesn't consume a lot of memory. >> whos A Name Size Bytes Class Attributes A 536870912x1 644204 double sparse However, it is not transposable due to memory limits (at least on my machine) >> A.'; ??? Error using ==> transpose Out of memory. Type HELP MEMORY for your options. Similarly, reshaping can be a problem >> reshape(A,2,[]); ??? Error using ==> reshape Out of memory. Type HELP MEMORY for your options. The reshaping issue is, incidentally, a real pain when you want to block bin the matrix (see the following thread): http://www.mathworks.com/matlabcentral/newsreader/view_thread/269676#706745
First
|
Prev
|
Pages: 1 2 3 Prev: Please help - Problem in Calling Matlab functions from C++ Next: How to get back data using Calllib to DLL |