Can Matlab harm my SSD/HDD?

조회 수: 1 (최근 30일)
deepak kumar
deepak kumar 2022년 1월 9일
편집: per isakson 2022년 1월 9일
I have written a code that includes functions that read the same files (.xlsx) several times from SSD every time code is executed. These functions in code run on loop hundreds of times and read the SAME files every time and use some data.
So, I want to know how Matlab handles read/write operations? Are files once read stored in RAM for further use? or Matlab reads them again and again? could these continuous read operations on the same location by Matlab harm my SSD?
If yes, then what is the workaround?

채택된 답변

Walter Roberson
Walter Roberson 2022년 1월 9일
편집: per isakson 2022년 1월 9일
MATLAB makes no attempt itself to buffer files. It leaves that up to the operating system. The operating system system in turn is responsible taking into account demands on memory, and requests from processes to write the file.
I suggest that you read once and pass the content to the function

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by