Skip to content

__example__

testfun · scripts/testfun/__example__.m

Display documentation examples without executing them.

example NAME example (NAME, N) [CODE, IDX] = example (…)

The examples are the demo blocks written in the source file of NAME. All are listed, or only number N when it is positive. When outputs are requested nothing is displayed: CODE is the text of the chosen examples and IDX lists where each begins in CODE plus the position after its end.