Where do I find the file that I saved?

27 views (last 30 days)
Robert Curran
Robert Curran on 7 Dec 2018
Commented: Walter Roberson on 7 Dec 2018
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
Robert Curran
Robert Curran on 7 Dec 2018
I'm using a MacBook Pro with OS 10.14.1. I'm using Matlab version 9.4.0.813654.
Robert Curran
Walter Roberson
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.

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 7 Dec 2018
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 Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!