1: function A = receive(port)
2: %
3: % A = receive(port)
4: % Receives a matrix from a port opened with openport()
5: %see openport and closeport
6: disp('You must build the receive mex file by doing: cd ${PETSC_DIR}; make BOPT=g matlabcodes')