Mathematica Mathematica continuous evaluation

AI Thread Summary
The discussion revolves around a Mathematica code issue involving the Manipulate function, where ContinuousAction is set to False, yet the code continues to evaluate repeatedly despite no changes in input. The user seeks advice on ensuring that the evaluation occurs only once when an input is altered. Clarification is provided regarding the ContinuousAction option, indicating it pertains to continuous action during slider movement. The conversation suggests investigating other parts of the code that may be causing repeated evaluations, implying that there may be additional triggers or dependencies leading to the issue.
iva_bg
Messages
8
Reaction score
0
Hello,

I have a Mathematica code with Manipulate [] and a number of inputs. At the end I have ContinuousAction->False, but my code keeps repeating the evaluation, even when the inputs are not changing. Ideally, I would like it to evaluate once when an input is changed. But now it goes like crazy simulating the same thing over and over again.

Any advice would be great. Thanks!
 
Physics news on Phys.org
Anyone, any ideas?
 
http://reference.wolfram.com/mathematica/ref/ContinuousAction.html

says
"is an option for Manipulate, Slider and related functions which specifies whether action should be taken continuously while controls are being moved."
which, if I am interpreting correctly, seems only relevant if you are moving a slider back and forth constantly.

So do you have something else in your code that is being re-evaluated again and again?
 

Similar threads

Replies
4
Views
3K
Replies
5
Views
2K
Replies
18
Views
4K
Replies
13
Views
2K
Back
Top