Why does CD-ing into a directory with a large number of files slow down MATLAB 8.0 R2012b on Linux?
조회 수: 4 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2013년 11월 4일
댓글: Walter Roberson
2022년 8월 13일
I have a directory that contains a large number of my files (size ~ 75GB).
When I CD into this folder, MATLAB does not respond for as long as 6 minutes. How do I reduce this delay? I am using a Linux machine.
채택된 답변
MathWorks Support Team
2018년 10월 19일
Currently the only way to work around this is to use the -nodesktop option while starting MATLAB.
Apart from this, there are no other workarounds.
댓글 수: 2
Walter Roberson
2022년 8월 13일
When you cd into a directory, matlab needs to examine all of the file names to see if there are any m or p or mlx or slx or mlapp or mex* files (and so on) as the executables in a directory become part of the matlab path, potentially requiring a change in execution path.
You should avoid cd in programs .
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!