Prev: slow fscanf - serial port
Next: help needed
From: Zafer Çoban on 19 Jul 2010 01:59 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 19 Jul 2010 02:12 "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 19 Jul 2010 04:45 "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 19 Jul 2010 07:03 "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 19 Jul 2010 07:14
"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 |