Actual source code: closeport.m

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