Execute mps.json.encoderequest
and
mps.json.decoderesponse
to call a function deployed on
MATLAB
Production Server™ using
webwrite
. In this case, student names and their
corresponding scores are deployed to MATLAB
Production Server to the
sortstudents
function that sorts students based on their
scores. The result returned is the equivalent to calling the function
sortstudents(struct('name', 'Ed', 'score', 83), struct('name',
'Toni', 'score', 91))
from MATLAB.