Actual source code: launch.m

  1: function error = launch(program,np)
  2: %
  3: %  error = launch(program,np)
  4: %  Starts up PETSc program
  5: % see openprot, closeport and receive
  6: disp('You must build the launch mex file by doing: cd ${PETSC_DIR}/src/sys/src/viewer/impls/socket/matlab; make BOPT=g matlabcodes')