The version checks mlv>=7.4 give the wrong result for MATLAB R2010a, where the version number is 7.10. An easy way of fixing this would be to use a small helper function equivalent to the MATLAB function verLessThan.