1: function A = receive(port) 2: % $Id: receive.m,v 1.6 2000/02/02 20:07:58 bsmith Exp $ 3: % 4: % A = receive(port) 5: % Receives a matrix from a port opened with openport() 6: %see openport and closeport 7: disp('You must build the receive mex file by doing: cd ${PETSC_DIR}; make BOPT=g matlabcodes')