Prev: help
Next: fprintf['text' vector 'text' vector]???
From: us on 1 Jul 2010 10:49 "mat001 " <priya.biomath(a)yahoo.co.in> wrote in message <i0i9hq$65u$1(a)fred.mathworks.com>... > "Andy " <theorigamist(a)gmail.com> wrote in message <i0i96g$con$1(a)fred.mathworks.com>... > > "mat001 " <priya.biomath(a)yahoo.co.in> wrote in message <i0i7tq$eqe$1(a)fred.mathworks.com>... > > > I want to append data only after certain interval so how to do? > > > > > > My code looks like that > > > m = mean(nonzeros(A(:))); > > > save('Data/s.mat', 's','-append','-ascii' ); > > > > The easiest way: > > > > m=mean(nonzeros(A(:))); > > % wait about ten seconds here > > save('Data/s.mat','s','-append','-ascii'); > > > > But seriously, what do you mean by "only after a certain interval"? Do you have some process collecting and processing data, and you need to save data every minute (or hour, or however often)? Are you asking how to leave space after appending data? Are you asking about a way to have a script run automatically after specified time intervals? > > > > What are you actually trying to > > sorry for unclear text. > > time iteration = time interval > > actually i have a long simulation having many time step so i want to collect data after 10 or 100 time step. > > I think its clear. no, it is NOT clear at all... did - or can - you not listen what you were asked for: THINK - then POST... us
From: mat001 on 1 Jul 2010 10:58 "us " <us(a)neurol.unizh.ch> wrote in message <i0i9t0$ssk$1(a)fred.mathworks.com>... > "mat001 " <priya.biomath(a)yahoo.co.in> wrote in message <i0i9hq$65u$1(a)fred.mathworks.com>... > > "Andy " <theorigamist(a)gmail.com> wrote in message <i0i96g$con$1(a)fred.mathworks.com>... > > > "mat001 " <priya.biomath(a)yahoo.co.in> wrote in message <i0i7tq$eqe$1(a)fred.mathworks.com>... > > > > I want to append data only after certain interval so how to do? > > > > > > > > My code looks like that > > > > m = mean(nonzeros(A(:))); > > > > save('Data/s.mat', 's','-append','-ascii' ); > > > > > > The easiest way: > > > > > > m=mean(nonzeros(A(:))); > > > % wait about ten seconds here > > > save('Data/s.mat','s','-append','-ascii'); > > > > > > But seriously, what do you mean by "only after a certain interval"? Do you have some process collecting and processing data, and you need to save data every minute (or hour, or however often)? Are you asking how to leave space after appending data? Are you asking about a way to have a script run automatically after specified time intervals? > > > > > > What are you actually trying to > > > > sorry for unclear text. > > > > time iteration = time interval > > > > actually i have a long simulation having many time step so i want to collect data after 10 or 100 time step. > > > > I think its clear. > > no, it is NOT clear at all... > did - or can - you not listen what you were asked for: > > THINK - then POST... > > us I can not explain more. Anyway I have fix the problem. Its better you do not waste time on my any future post. Thanks
From: us on 1 Jul 2010 11:07
"mat001 " <priya.biomath(a)yahoo.co.in> wrote in message <i0iads$4lc$1(a)fred.mathworks.com>... > "us " <us(a)neurol.unizh.ch> wrote in message <i0i9t0$ssk$1(a)fred.mathworks.com>... > > "mat001 " <priya.biomath(a)yahoo.co.in> wrote in message <i0i9hq$65u$1(a)fred.mathworks.com>... > > > "Andy " <theorigamist(a)gmail.com> wrote in message <i0i96g$con$1(a)fred.mathworks.com>... > > > > "mat001 " <priya.biomath(a)yahoo.co.in> wrote in message <i0i7tq$eqe$1(a)fred.mathworks.com>... > > > > > I want to append data only after certain interval so how to do? > > > > > > > > > > My code looks like that > > > > > m = mean(nonzeros(A(:))); > > > > > save('Data/s.mat', 's','-append','-ascii' ); > > > > > > > > The easiest way: > > > > > > > > m=mean(nonzeros(A(:))); > > > > % wait about ten seconds here > > > > save('Data/s.mat','s','-append','-ascii'); > > > > > > > > But seriously, what do you mean by "only after a certain interval"? Do you have some process collecting and processing data, and you need to save data every minute (or hour, or however often)? Are you asking how to leave space after appending data? Are you asking about a way to have a script run automatically after specified time intervals? > > > > > > > > What are you actually trying to > > > > > > sorry for unclear text. > > > > > > time iteration = time interval > > > > > > actually i have a long simulation having many time step so i want to collect data after 10 or 100 time step. > > > > > > I think its clear. > > > > no, it is NOT clear at all... > > did - or can - you not listen what you were asked for: > > > > THINK - then POST... > > > > us > > I can not explain more. > Anyway I have fix the problem. > Its better you do not waste time on my any future post. > > Thanks good... now, tell CSSM how you fixed the problem... one would like to see how the solution relates to your OP's content... us |