1: function port = openport(number)
2: % $Id: openport.m,v 1.7 2001/02/09 19:30:37 bsmith Exp $
3: %
4: % port = openport(number)
5: % Opens a port to receive matrices from Petsc.
6: % see closeport and receive
7: disp('You must build the openport mex file by doing: cd ${PETSC_DIR}/src/sys/src/viewer/impls/socket/matlab; make BOPT=g matlabcodes')