TrackedSymbols

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:
  • Allall possible symbols
    Fullsymbols that appear explicitly in the input expression
    Truesymbols that appear in Manipulate, etc. controls
    Automaticsymbols 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 all

Basic 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:

Wolfram Research (2007), TrackedSymbols, Wolfram Language function, https://reference.wolfram.com/language/ref/TrackedSymbols.html (updated 2008).

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

BibTeX

@misc{reference.wolfram_2024_trackedsymbols, author="Wolfram Research", title="{TrackedSymbols}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/TrackedSymbols.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_trackedsymbols, organization={Wolfram Research}, title={TrackedSymbols}, year={2008}, url={https://reference.wolfram.com/language/ref/TrackedSymbols.html}, note=[Accessed: 22-November-2024 ]}