Save entire command history - Updated, Fast

バージョン 1.1.0.0 (1.74 KB) 作成者: Alex R.
Saves a complete record of all commands.
ダウンロード: 438
更新 2014/11/28

ライセンスの表示

Inspired by http://www.mathworks.com/matlabcentral/fileexchange/9291-save-entire-command-history.
`preserve_history.m` maintains a complete record of the command history (MATLAB only maintains the last 20k worth of commands, so old commands are lost).
This package is much faster than the above original (uses regexp to match all content instead of line by line) and is compatible with Matlab R2014a and R2014b which save history in XML format. There is also no need to edit/copy any files, the entire process is automatic. You also don't need to copy the files to $MATLAB/toolbox/local/, which usually requires admin permissions.

To install, just extract the attached files to `%USERPROFILE%\Documents\MATLAB` (on Windows) or `~/Documents/MATLAB` (Linux, MacOSX), which should already be in your Matlab path by default.

The preserved history file is called `history_preserved.m` and will be placed in `%APPDATA%\Mathworks\MATLAB\R2014a` (Windows) or `~/.matlab/R2014a` (Linux, MacOSX).

If all goes ok, quitting/exiting Matlab will trigger `preserve_history.m` automatically. You can also manually execute `preserve_history.m`.

Tested in Windows, Linux and MacOSX.

引用

Alex R. (2024). Save entire command history - Updated, Fast (https://www.mathworks.com/matlabcentral/fileexchange/48593-save-entire-command-history-updated-fast), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2014b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSoftware Development Tools についてさらに検索
タグ タグを追加
謝辞

ヒントを得たファイル: Save Entire Command History

ヒントを与えたファイル: HxSearch

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

Corrected wrong file.

1.0.0.0