A one minute guide on hwoto call external function in Matlib using mex.