Function get_global_variable

Get a workspace global variable

Get a global variable in a current workspace storage. If the variable does not exist in the storage an optional default value is returned. If the default value does not exist then an empty matrix is returned.

If no argument is given then a structure with all global variables is returned.