Running dir() or mget() on FTP object causes MATLAB to crash
조회 수: 2 (최근 30일)
이전 댓글 표시
The following code causes MATLAB to crash at dir() in v7.10.0.59 (R2010a) and v7.12.0.635 (R2011a) (and possibly others) on Win7 x64 machines:
f = ftp('ftp.mathworks.com')
dir(f);
close(f)
댓글 수: 0
답변 (1개)
Alex
2012년 8월 21일
Confirmed in 2012a on Windows 7 x64. It sounds like MATLAB doesn't let you use passive mode FTP, at least in Windows. Here's a workaround:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 FTP File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!