This searches the specified file name in all folders of the Matlab path:
File = which('XYZ.doc')
If this satisfies your needs depends on what exactly "your system" means. Does this mean the Matlab path, all local disks, all folders on the local disks with read access for the current user, or even all network connections? Even asking Google to search in the net is possible.