From: Zafer Çoban on
Hi,
I ran a for loop with 1000 iterations in an .m file. It has been running for 3 days. I wonder if there is a way to learn the iteration number without stopping the run? Thanks...
From: Bruno Luong on
"Zafer Çoban" <zcoban(a)aselsan.com.tr> wrote in message <i20pj9$3gp$1(a)fred.mathworks.com>...
> Hi,
> I ran a for loop with 1000 iterations in an .m file. It has been running for 3 days. I wonder if there is a way to learn the iteration number without stopping the run? Thanks...

Sorry, no.

Bruno
From: Carl on
"Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <i20qbk$k5a$1(a)fred.mathworks.com>...
> "Zafer Çoban" <zcoban(a)aselsan.com.tr> wrote in message <i20pj9$3gp$1(a)fred.mathworks.com>...
> > Hi,
> > I ran a for loop with 1000 iterations in an .m file. It has been running for 3 days. I wonder if there is a way to learn the iteration number without stopping the run? Thanks...
>
> Sorry, no.
>
> Bruno

If you need to run the program again you can always put something like the following line at the start of the loop
disp (Iteration_No)
From: Zafer Çoban on
"Carl " <carl.meade(a)scottish-southern.co.uk> wrote in message <i213b2$45c$1(a)fred.mathworks.com>...
> "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <i20qbk$k5a$1(a)fred.mathworks.com>...
> > "Zafer Çoban" <zcoban(a)aselsan.com.tr> wrote in message <i20pj9$3gp$1(a)fred.mathworks.com>...
> > > Hi,
> > > I ran a for loop with 1000 iterations in an .m file. It has been running for 3 days. I wonder if there is a way to learn the iteration number without stopping the run? Thanks...
> >
> > Sorry, no.
> >
> > Bruno
>
> If you need to run the program again you can always put something like the following line at the start of the loop
> disp (Iteration_No)

Ok, i know but this time i forgot it. Then, is it possible to access a variable that is defined in an .m file (but not defined as global variable) while the .m file is on run?
From: us on
"Zafer Çoban" <zcoban(a)aselsan.com.tr> wrote in message <i21bda$1c6$1(a)fred.mathworks.com>...
> "Carl " <carl.meade(a)scottish-southern.co.uk> wrote in message <i213b2$45c$1(a)fred.mathworks.com>...
> > "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <i20qbk$k5a$1(a)fred.mathworks.com>...
> > > "Zafer Çoban" <zcoban(a)aselsan.com.tr> wrote in message <i20pj9$3gp$1(a)fred.mathworks.com>...
> > > > Hi,
> > > > I ran a for loop with 1000 iterations in an .m file. It has been running for 3 days. I wonder if there is a way to learn the iteration number without stopping the run? Thanks...
> > >
> > > Sorry, no.
> > >
> > > Bruno
> >
> > If you need to run the program again you can always put something like the following line at the start of the loop
> > disp (Iteration_No)
>
> Ok, i know but this time i forgot it. Then, is it possible to access a variable that is defined in an .m file (but not defined as global variable) while the .m file is on run?

no
us
 |  Next  |  Last
Pages: 1 2 3
Prev: slow fscanf - serial port
Next: help needed