
Demos in the Help Browser
Searching for Demos
Yo u can use the Help browser search feature to find demos. Search find words
in comments or code for M-file and Model type s demos. It finds comments
in the M-file help for M-GUI demos. I t does not se arch video demos. For
instructions, see “Search Documentation and Demos with the H elp Browser”
on page 4-16.
Running Demos and Base Workspace Variables
M-file demos run as scripts. Their variables are created in the MATLAB
base workspace. If you have variables in the base workspace when you run
an M-file demo, a nd the demo uses an identical variable name, there could
be problems due to variable name conflicts. For example, a variable of yours
might be overwritten by the demo. The demo’s variables remain in the base
workspace until you clear them or quit MATLAB.
4-35
Commentaires sur ces manuels