PetscErrorCode PetscStartMatlab(MPI_Comm comm,const char machine[],const char script[],FILE **fp)Logically Collective, but only processor zero in the communicator does anything
comm | - MPI communicator | |
machine | - optional machine to run MATLAB on | |
script | - name of script (without the .m) |
fp | - a file pointer returned from PetscPOpen() |
The script must be in your MATLAB path or current directory
Assumes that all machines share a common file system