[MATLAB] use SWIGEXPORT for mexFunction

this should mean the user doesn't need .def files.
Also tiny update to usage message of the mexFunction to make clear
this is really an internal function and shouldn't be used directly.