MATLAB equivalent to ls -l
조회 수: 6 (최근 30일)
이전 댓글 표시
Hi, what is MATLAB equivalent to ls -l?
댓글 수: 1
Walter Roberson
2020년 1월 8일
On Mac and Linux, MATLAB passes the parameters to the ls command, so
ls -l
at the MATLAB prompt will show long information.
채택된 답변
John D'Errico
2020년 1월 8일
편집: John D'Errico
2020년 1월 8일
It depends on what you want from it. What exactly are you looking for?
D = dir
MAY give you much of what you may want, if you return
However, if you really, alsolutely need to see the output of ls -l, then just do
system('ls -l')
So there is no need for an equivalent thereof, just execute the system call itself.
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!