Skip to content

Command History

Simone Maurizio La Cava edited this page Nov 3, 2020 · 4 revisions

The command history is provided by the toolbox when used in guided mode.

In particular, each new executed operation is appended in the Matlab base workspace to a cell array named Athena_history, on the right of the previous command (later it is used, the further to the right it will be found, and the higher index of the array it will have).

It will be also shown the arguments used as parameters of the function, allowing to replicate each action from scratch and without using Athena through its graphic interface.

In order to use the commands directly through the Athena_history cell array, without any copy-and-paste manual operation, it is possible to use the eval command, using the index related to the desired command:

eval(Athena_history{index})

You can also use the History to Script interface in order to automatically create a ready-to-run and commented script related to the current session's history.

Clone this wiki locally