From: Sofia Häggberg on
without waiting to finish and run again with F5?

any idea...
From: Wayne King on
"Sofia Häggberg" <hd.int.assNOSPAM(a)gmail.com> wrote in message <i33ibt$7uk$1(a)fred.mathworks.com>...
> without waiting to finish and run again with F5?
>
> any idea...

Hi Sofia, A simple solution is to wrap a for loop around your script:

for k = 1:10
your code here
end

Of course, if you want to keep the results of all ten runs through your script, you will have to be careful about how you store the output from each run so that you're not just overwriting it each time.


Wayne
From: us on
"Sofia Häggberg" <hd.int.assNOSPAM(a)gmail.com> wrote in message <i33ibt$7uk$1(a)fred.mathworks.com>...
> without waiting to finish and run again with F5?
>
> any idea...

a hint:

help for;
help while;

us