History of opened m-files

32 views (last 30 days)
Kylee North
Kylee North on 29 Sep 2022
Commented: Kylee North on 29 Sep 2022
I know the date I created a certain m-file, but I cannot remember it's name or where it is saved. Does MATLAB store of history of opened m-files?

Answers (1)

Kevin Holly
Kevin Holly on 29 Sep 2022
try
open(fullfile(prefdir, 'matlab.prf'))
  2 Comments
Kylee North
Kylee North on 29 Sep 2022
It only lists the last 8 files I have opened, and it doesn't say the date they were opened
Kylee North
Kylee North on 29 Sep 2022
I found a workaround by using Finder and looking for all mfiles in a certain date range. Thanks though

Sign in to comment.

Categories

Find more on Help and Support in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!