echodemo
Run example script step-by-step in Command Window
Description
echodemo
runs the script
specified by filename
filename
step-by-step in the Command Window. If file
contains sections, echodemo
treats each section as a step and
pauses after each one. For more information about sections, see Create and Run Sections in Code.
At each step, you can click links in the Command Window to proceed or stop. If the Command Window is not large enough to show the links, scroll up to see them.
Caution
If variables in your base workspace have the same name as variables that the example file creates, the example could overwrite your data. Preserve your data by saving it to a MAT-file before running the example.
Examples
Input Arguments
Limitations
echodemo
does not support functions or live code files (*.mlx
).echodemo
can run any script (*.m
) that you can execute, but only scripts with sections pause between steps.
Version History
Introduced before R2006a