Where do I find the file that I saved?
Show older comments
Yesterday I created 2-vectors (1 x 3 and 1 x 4) and a Matrix (3 x 4). I used the save command on the tool bar. The name (which I cand remember right now, ended with .mat The file appeared on my desktop. I then dragged it to another folder on my desktop. Subsequently I could not find it again. I can't figure where it went. I have searced for the vector and matrix names with no result.
3 Comments
Walter Roberson
on 7 Dec 2018
Edited: Walter Roberson
on 7 Dec 2018
Robert Curran
on 7 Dec 2018
Walter Roberson
on 7 Dec 2018
!find ~ -type f -name \*.mat -mtime -2 -print
The above should work on either Mac or Linux, provided that the file was put somewhere under your home directory, and provided that the file was modified within the last 2 days.
Answers (1)
Cris LaPierre
on 7 Dec 2018
1 vote
Unfortunately, only you can tell us where you moved it. Try searching your computer for *.mat
That will search for any mat files on your computer. The file type is MATLAB Data.
Categories
Find more on Environment and Settings 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!