MATLAB: Is there a way to skip “pause” statements

MATLABpausesettings

I'm grading hundreds of student assignments using a semi-automated method. However, a large portion of the students have included `pause` statements at nonsensical locations. This has removed all of the automated nature of my grading.
Is there any method/setting that I can modify which will skip all pause statements. I know I can use find/replace (or regular-expressions) to get rid of the statements but that seems very ad-hoc.
Thanks

Best Answer

pause('off')