Update MATLAB to version 2013a

What do you mean? Why would this give an error? Because `os` is being used?