Why does CD-ing into a directory with a large number of files slow down MATLAB 8.0 R2012b on Linux?

조회 수: 4 (최근 30일)
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
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
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 CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

제품


릴리스

R2012b

Community Treasure Hunt

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

Start Hunting!

Translated by