|
It happens inside the function any2csv (I found it at Matlab Central)
http://www.mathworks.nl/matlabcentral/fileexchange/19149-any2csv
Here you see a piece of code that leads to it.
% Creating output structure
sout=struct;
tmp=str2double(sdata.NMRHYP);
sout.NMRHYP=num2str(tmp);
sout.REST_RVP1=sdata.REST_RVP1_T;
sout.REST_RVP2=sdata.REST_RVP2_T;
sout.REST_RVP3=sdata.REST_RVP3_T;
sout.REST_RVP4=sdata.REST_RVP4_T;
sout.MARKT1=sdata.MARKT1_T;
sout.MARKT2=sdata.MARKT2_T;
sout.MARKT3=sdata.MARKT3_T;
sout.MARKT4=sdata.MARKT4_T;
any2csv(sout,';',0,'sout.csv');
And this is the error message.
??? Out of memory. Type HELP MEMORY for your options.
Error in ==> any2csv at 89
str=[c{:}];
Error in ==> Marktrentes_v1 at 118
any2csv(sout,';',0,'sout.csv');
I made some corrections in the original file, i.e instead of
% concatenate all strings in the right order
c=c';
str=['Contents of ' name 10 10 c{:}];
I have this:
% concatenate all strings in the right order
c=c';
%str=['Contents of ' name 10 10 c{:}];
str=[c{:}];
Any help appreciated.
"Bobby Cheng" <bcheng@mathworks.com> wrote in message <hse9it$2vk$1@fred.mathworks.com>...
> Do you have an example to show us? Your description is too general.
> ---Bob.
>
> "Larissa " <lkotova@hotmail.com> wrote in message
> news:hsdqog$35u$1@fred.mathworks.com...
> > Are there any known memory problems in R2009b? I am out of memory when I
> > am using my program developed in R2008a, with R2009b. It still runs in
> > R2008a without problems. My program uses a few large arrays but no heavy
> > calculations.
> > Thanks! Lara
> >
>
|