How will you be grading their submissions? If you are grading their code manually, you may be able to spot cheating on your own.
As for a programatic solution, MATLAB does not provide one, and you don't have time to build one. If your institution doesn't already have a license for this type of service, I'd suggest looking into something like MOSS, provided free by Stanford. MOSS = Measure Of Software Similarity.