Determine number of times file has been accessed

조회 수: 3 (최근 30일)
Darin McCoy
Darin McCoy 2012년 7월 23일
Hi,
I would like to know how many times a particular file has been accessed (by Windows or otherwise). I know you can get "Last Accessed" for a particular file....but is is possible to know the number of times a file has been accessed? how would you go about doing something like that?
  댓글 수: 1
Jan
Jan 2012년 7월 23일
This question cannot be solved within Matlab. Therefore I suggest to ask a Windows forum.

댓글을 달려면 로그인하십시오.

채택된 답변

Jason Ross
Jason Ross 2012년 7월 23일
In Windows, you can set this up using built-in tools on the OS, similar to the following example:
The accesses will show up in the Event Viewer.
Keep in mind that the more files you monitor, the more load this puts on the system.
I'm not aware of a way to do it other than setting up this more strict monitoring, unless you wanted to do something like serve it through a web server and have one of those "this page has been accessed X times" counters.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by