Why this message appears?

조회 수: 3 (최근 30일)
huda nawaf
huda nawaf 2022년 8월 8일
댓글: Steven Lord 2022년 8월 8일
HELLO,
In main program I call two functions. I'm reading four big files in main program and the functions in total.
I recieved the following error message :
Error using dlmread
Out of memory.
Error in IC_realdata1 (line 18) %%%%FUNCTION
w=dlmread('we.txt');
Error in obj_realdata1 (line 30)%%%% FUNCTION
c=IC_realdata1(gen(ch,j));
Error in EXAMPLE_GA_TOUR (line 21)%%% THE MAIN PROGRAM
a=obj_realdata1(gen);
Related documentation
Thanks in advance

답변 (1개)

Jan
Jan 2022년 8월 8일
The message is clear: "Out of memory" means, that the size of the data, you try to load, exceeds the available RAM.
Install more RAM or clear data, which are not used anymore.
  댓글 수: 1
Steven Lord
Steven Lord 2022년 8월 8일
Another option is to use the big data functionality in MATLAB, which is designed to operate on data sets that are too large to fit in memory.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by