MATLAB: ‘Find & Replace’ ignores quoted strings

editorfind & replaceMATLAB

I am having a problem with the editor's 'Find & Replace' tool. I have a mfile containing containing quoted strings like
load('File1.mat') ;
load('File2.mat') ;
load('File3.mat') ;
load('File4.mat') ;
When I use Edit > Find & Replace to search for File or mat, they are not found. But when I search for load, it is found. It seems like the characters enclosed in single quotes are invisible to Find & Replace. Is that a known issue? I am using R2012a.

Best Answer

This is due to checking the Whole Word box. The problem disappeared when it was unchecked. I hope this spares someone else a silly mistake.