Unload matrix and free memory

前端 未结 3 1169
悲&欢浪女
悲&欢浪女 2021-01-14 10:14

I can load a matrix from text file:

load mydata.txt

The problem is my matrix file is about 250Mb and after several such loads I have no mem

3条回答
  •  耶瑟儿~
    2021-01-14 10:48

    Find the variables in your workspace that contain the large data sets and in your script or from the console type

    clear whateverVariableName
    

    To clear all memory use

    clear all
    

    You can even right-click individual variables in he workspace editor and delete them using the IDE if you wish.

提交回复
热议问题