Added getMatlab() function