i had a code that c send back 1 number (mex) the matlab code was
vMsg=unit32(Gateway_test_app(2))
now i added 1 more return value to Gateway_test_app(2) which is s STRING what i need to do to get the two values back i was thinking about something like this:
[vMsg,errMsg]=??????(Gateway_test_app(2))
what should i put in the ????? place? thx for any help johnny.
ps using codegen and need not to get err when building