Clear Filters
Clear Filters

Is there a way to open *.mat file as a text file

5 views (last 30 days)
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!!

Accepted Answer

dbmn
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)

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!