Make uniform use of $ApplicationDirectory
add error handling with try/catch in MATLAB.
Rename randomFileName to randomString since it is used in other contexts.
Make MGet listable
Give MATLAB errors a custom MException head instead of showError.
Removed unused function SupportedMATLABTypeQ