How can I access my command history without running Matlab program?

32 visualizzazioni (ultimi 30 giorni)
I have been using Matlab 2017a. the program crashed and can not be accessed without reinstallation. How can I access my command history to save a copy before uninstallation, ofcourse without running Matlab program because it doesn't work. I could not find a history file in the installation folder.

Risposte (3)

Stephen23
Stephen23 il 8 Gen 2019
Modificato: Stephen23 il 8 Gen 2019
The command history is stored in either:
  • history.xml (R2014a or later)
  • history.m (earlier versions)
The file can be found in the user's MATLAB preference directory, which can be found using the command prefdir. If you cannot use MATLAB to run that command and are using Windows the prefdir help includes an example which you should be able to use to figure out its location on your computer.

madhan ravi
madhan ravi il 8 Gen 2019

maryam bagheri
maryam bagheri il 8 Gen 2019
I found the solution by searching the entire drive for history.xml files. then I opened all files on text editor and searched for keywords from my usual commands iusing "search in all open documents" tool.

Categorie

Scopri di più su Desktop in Help Center e File Exchange

Prodotti


Release

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by