EXPORTS mexFunction