TrackedSymbols
is an option to Refresh, Manipulate, and related functions that specifies which symbols should trigger updates when their values are changed.
Details
- The following settings can be used:
-
All all possible symbols Full symbols that appear explicitly in the input expression True symbols that appear in Manipulate, etc. controls Automatic symbols being tracked in enclosing constructs {x,y,z,…} an explicit list of symbols - When a list of symbols is given, the typical usage is TrackedSymbols:>{x,y,z,…}.
Examples
open allclose allBasic Examples (1)
Specify symbols in Manipulate that will be used for updating:
Possible Issues (2)
Symbols in an explicit list will not be tracked if they were not evaluated in the enclosing construct:
Using Rule for TrackedSymbols fails in some cases because the symbols are evaluated:
Generally, RuleDelayed should always be used for TrackedSymbols:
Text
Wolfram Research (2007), TrackedSymbols, Wolfram Language function, https://reference.wolfram.com/language/ref/TrackedSymbols.html (updated 2008).
CMS
Wolfram Language. 2007. "TrackedSymbols." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/TrackedSymbols.html.
APA
Wolfram Language. (2007). TrackedSymbols. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TrackedSymbols.html