__history__
- : __history__
()¶ - : __history__
(n)¶ - : __history__
(opt1, …)¶ - :
h =__history__(…)¶ List, clear, read or write the command history.
A numeric argument limits the listing to that many of the most recent entries. Options: -q omits entry numbers, -c clears the history, and -r, -w, -a read, write or append the history file (optionally given a file name).
With an output argument, the entries are returned in a cell array of strings instead of being printed.