While running the simulink response optimization, I am
facing a weird problem. When I try to stop the optimization
from the constraints gui after running it, it works fine.
But the simulations keeps going on, in the simulink, as if
no stop command is given. This is hanging my system again
and again.
PLease help.
The stop command will only cause the optimization to halt at major iteration
steps. This means that if an iteration requires many simulations (say a
patternsearch optimization algorithm) pressing the stop will not immediately
stop the simulations as all the simulations required by the iteration will
be completed. This has been changed in the upcoming R2008b release, where
the simulations and optimziations will stop almost immediately as the stop
is pressed.
For your problem, if you leave the simulations do they eventually terminate.
If not it may be that the optimizaer is choosing "bad" values for the
parameters casuing the model simulation to progress slowly. Adding bounds to
the optimized parameters often helps avoiding this sort of problem.
-Alec
"ahmad " <khanahm@gmail.com> wrote in message
news:g1knf1$e2k$1@fred.mathworks.com...
> Hi,
>
> While running the simulink response optimization, I am
> facing a weird problem. When I try to stop the optimization
> from the constraints gui after running it, it works fine.
> But the simulations keeps going on, in the simulink, as if
> no stop command is given. This is hanging my system again
> and again.
> PLease help.
Tags for this Thread
Add a New Tag:
Separated by commas
Ex.: root locus, bode
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.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Disclaimer prior to use.