Memory manager functions | assignin >> |
value = acquirevar(scope, variable_name) |
a string: 'global', 'base', 'caller', 'local'.
a string: the name of symbol to search.
value of the variable searched.
acquirevar search a symbol in a specific scope and copy the value in current scope.
Y = 'variable in base scope';
function myfun()
disp(acquirevar('base', 'Y')
end
myfun()
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET