made the MPCexport MEX interface more consistent with the SIMexport MEX interface