UnsavedVariables

UnsavedVariables

is an option for Manipulate, DynamicModule, and related functions that specifies local symbols that should not be saved when the notebook containing them is saved.

Details

  • The typical usage is UnsavedVariables:>{var1, var2,}.
  • The DynamicModule containing the local variable var will save neither the ownvalue nor any other value associated with var.

Examples

Basic Examples  (1)

Create a notebook with a regular DynamicModule expression:

Reading the notebook shows the value assigned to x in the DynamicModuleBox:

Create a second notebook, but with x listed as an unsaved variable:

Reading this notebook shows no value assigned to x:

Wolfram Research (2010), UnsavedVariables, Wolfram Language function, https://reference.wolfram.com/language/ref/UnsavedVariables.html.

Text

Wolfram Research (2010), UnsavedVariables, Wolfram Language function, https://reference.wolfram.com/language/ref/UnsavedVariables.html.

CMS

Wolfram Language. 2010. "UnsavedVariables." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UnsavedVariables.html.

APA

Wolfram Language. (2010). UnsavedVariables. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UnsavedVariables.html

BibTeX

@misc{reference.wolfram_2023_unsavedvariables, author="Wolfram Research", title="{UnsavedVariables}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/UnsavedVariables.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_unsavedvariables, organization={Wolfram Research}, title={UnsavedVariables}, year={2010}, url={https://reference.wolfram.com/language/ref/UnsavedVariables.html}, note=[Accessed: 19-March-2024 ]}