Is there a way to open *.mat file as a text file
3 views (last 30 days)
Show older comments
Hi,
A few days ago, at the end of the day, I saved my command line space by standing on it and clicking ctrl+s. I didn't notice that matlab automatically saved it as *.mat file. Now, when I double click this file, matlab, somehow uploads all the relevant variables. But it doesn't open a screen with the relevant commands I did that day.
Is there a way to open this *.mat file in a text form, or somehow restor the commands I did that day?
Thank you!!
0 Comments
Accepted Answer
dbmn
on 7 Feb 2017
In your *.mat file, there is only data available. So no luck there, BUT
you can access your command history (if you have acceess to the same computer). Using the following command a window should open (you can dock this window)
commandhistory
Or you could have a look at the history.m or history.xml file in your prefir
More Answers (0)
See Also
Categories
Find more on Entering Commands 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!