Memory manager functions
The Memory Manager module provides tools for managing variables and memory in Nelson.
It supports variable creation, assignment, querying, and removal across different scopes, as well as handling global and persistent variables.
The module also enables memory inspection, variable locking, and listing of workspace contents, facilitating efficient and controlled memory usage in scripts and applications.
Functions
acquirevar - Acquires variable value from a specified variables scope.
assignin - Assignin value to a variable in a specified variables scope.
clear - Remove variable from workspace.
global - Defines a global variable.
isglobal - Checks if a variable is global.
isvar - Check for the existence of an variable.
memory - Get memory information.
persistent - Persistent variable.
varislock - Checks if a variable is locked.
varlock - Locks a variable.
varunlock - Unlocks a variable.
who - List variables in memory or in .nh5 or in .mat file.
whos - List variables in memory or in .nh5 or in .mat file with sizes and types.
Last updated
Was this helpful?