mex subsx.c