Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
how can pause iteration in MATLAB?

Subject: how can pause iteration in MATLAB?

From: ehsan moazami

Date: 18 Nov, 2010 09:33:14

Message: 1 of 2

hi Guys,
I want to pause the running program in MATLAB for example at 2nd iteration and see the related results. How can I do this ??

Subject: how can pause iteration in MATLAB?

From: Aurelien Queffurust

Date: 18 Nov, 2010 10:33:05

Message: 2 of 2

"ehsan moazami" <avaretarin@yahoo.com> wrote in message <ic2rsp$63d$1@fred.mathworks.com>...
> hi Guys,
> I want to pause the running program in MATLAB for example at 2nd iteration and see the related results. How can I do this ??

You could evaluate your results in debug mode using a condition statement : http://www.mathworks.com/help/techdoc/matlab_env/brqxeeu-175.html#brqxeeu-234.

Aurélien

http://blog.developpez.com/matlab4geek/

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us