FUNCTION REFERENCE
assignin
Assign a variable in the base or caller workspace.
Assign a variable in the base or caller workspace.
Syntax
assignin('base'|'caller', name, value)Example
assignin('base','answer',42); answer % 42Differences from MATLAB: Variable names use the engine's ASCII identifier rules.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.