User`s guide

5 Environment Reference
5-22
To locate or edit a demo script
1 In the MATLAB window, type
scfreerundemo
MATLAB displays the location of the M-file.
D:\MATLAB\toolbox\rtw\targets\xpc\xpcdemos\scfreerundemo.m
2 Type
edit scfreerundemo
MATLAB opens the M-file in a MATLAB editing widow.