With R2013a it's simple, just set a breakpoint and click [Run]. On the other hand I would have answered: add the line
function dummy()
at the to of the file. That's the way I used to do it.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!