what segment of memory(data segment, stack segment) does the matlab primary work space and function work space occupies?

# MATLAB: What segment of memory does the matlab primary work space and function work space occupies

data segmentwork space

###### Related Question

- What is the most memory efficient way to return large arrays in a C structure from a Matlab C mex function
- What is the most efficient way: load or set global variable
- How to use global variables and MATLAB workspaces
- High memory usage with empty workspace
- What is the right way to work with Matlab coder dynamic and static allocations
- How to increase the heap space for the Java VM in MATLAB 6.0 (R12) and later versions

## Best Answer