A function is defined by function function_name(var1, var2, ...). Any variables that do not appear in function_name( ...) and are not global variables are internal variables. They do not get saved in Workspace.
So if you want to know them, you need to do any of the following:
(1) make them global variable;
(2) define them as external variables in function_name( ... )
(3) output them with the function, for example, "var1"
A function is defined by function function_name(var1, var2, ...). Any variables that do not appear in function_name( ...) and are not global variables are internal variables. They do not get saved in Workspace.
So if you want to know them, you need to do any of the following:
(1) make them global variable;
(2) define them as external variables in function_name( ... )
(3) output them with the function, for example, "var1"