TSTOOL home page | TSTOOL documentation page | TSTOOL installation page | TSTOOL link page

Next: 5.3.7 Options Up: 5.3 Menus Previous: 5.3.5 Modify

## 5.3.6 Macro

TSTOOL records the processed commands for every signal. So TSTOOL knows how this signal is modified and can generate a matlab script with processes the same commands to arbitrary signal.

The generated scripts will be saved in the directory `scripts` inside the directory for temporary files.

- CREATE MACRO FROM SIGNAL

  Generate script named `macro.m`.

- SHOW/EDIT MACRO
- RENAME MACRO

  Renamed macros will be displayed at the end of this menu after restart of TSTOOL.

- APPLY MACRO TO SIGNAL

  Invoke `macro.m` with the selected signal.

- APPLY MACRO TO ALL

  Invoke `macro.m` with every loaded signal.

After the seperation line a list of all `*.m`-Files in the directory `scripts` is shown. Selecting one of these menus apply the corresponding script to the actual selected signal.