I have a reference to a Simulink.ModelDataLogs container in the MATLAB workspace. When I use a 'Clear All' command in the MATLAB command window, this reference is cleared. However, the memory of the container itself is not freed. The memory is freed only when I close the model.
MATLAB: Is the memory of a Simulink.ModelDataLogs variable not freed when I clear a reference to it using a ‘Clear All’ command in the MATLAB workspace
leakmemstatsmodeldatalogsobjectsimulink
Related Question
- Is it possible to ‘clear all’ variables except one
- Does the Simulink.TimeSeries object get referenced and not copied in Simulink 7.4 (R2009b)
- Do I receive an “out of memory” error when I try to open a large HTML file using the Help Browser in MATLAB 7.0 (R14)
- Clear all
- Do I receive an error when trying to import a MAT file in MATLAB 7.0 (R14)
Best Answer