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

조회 수: 31 (최근 30일)
maryam bagheri
maryam bagheri 2019년 1월 8일
답변: maryam bagheri 2019년 1월 8일
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.

답변 (3개)

Stephen23
Stephen23 2019년 1월 8일
편집: Stephen23 2019년 1월 8일
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 2019년 1월 8일

maryam bagheri
maryam bagheri 2019년 1월 8일
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.

카테고리

Help CenterFile Exchange에서 Desktop에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by