Prev: rayleighchan Matlab 2009b
Next: fitting with the custom model without using CurveFittingToolbox
From: Rhys on 5 Mar 2010 06:22 I want to run the same programme, saving data to a .mat file without overwriting previous runs. Is there an easy way to check if a previous run created the savedatafile.mat, if not create it, if it does then load it to append the already existing data? thanks
From: Pekka Kumpulainen on 5 Mar 2010 06:39 "Rhys " <rhyswork**ANTISPAM**@yahoo.co.uk> wrote in message <hmqphf$l84$1(a)fred.mathworks.com>... > I want to run the same programme, saving data to a .mat file without overwriting previous runs. > Is there an easy way to check if a previous run created the savedatafile.mat, if not create it, if it does then load it to append the already existing data? > thanks doc exist If you only add new variables and don't modify the existing ones you can use save(...,'-append')
From: Rhys on 5 Mar 2010 06:47 "Pekka Kumpulainen" <pekka.nospam.kumpulainen(a)tut.please.fi> wrote in message <hmqqh9$neg$1(a)fred.mathworks.com>... > "Rhys " <rhyswork**ANTISPAM**@yahoo.co.uk> wrote in message <hmqphf$l84$1(a)fred.mathworks.com>... > > I want to run the same programme, saving data to a .mat file without overwriting previous runs. > > Is there an easy way to check if a previous run created the savedatafile.mat, if not create it, if it does then load it to append the already existing data? > > thanks > > doc exist > > If you only add new variables and don't modify the existing ones you can use > save(...,'-append') Thanks Ive spent an hour on google and in help without finding doc exist Sorry for needing the basic help! But very valued anyway, cheers.
|
Pages: 1 Prev: rayleighchan Matlab 2009b Next: fitting with the custom model without using CurveFittingToolbox |