ViewerMatlabOpen

Opens a connection to a Matlab server.

Synopsis

int ViewerMatlabOpen(MPI_Comm comm,char *machine,int port,Viewer *lab)

Input Parameters

comm -the MPI communicator
machine -the machine the server is running on
port -the port to connect to, use -1 for the default

Output Parameter

lab -a context to use when communicating with the server

Collective on MPI_Comm

Notes

Most users should employ the following commands to access theMatlab viewers

   ViewerMatlabOpen(MPI_Comm comm, char *machine,int port,Viewer &viewer)
   MatView(Mat matrix,Viewer viewer)

               or

   ViewerMatlabOpen(MPI_Comm comm, char *machine,int port,Viewer &viewer)
   VecView(Vec vector,Viewer viewer)

Options Database Keys

For use with the default Matlab viewer, VIEWER_MATLAB_WORLD
   -viewer_matlab_machine <machine>
   -viewer_matlab_port <port>

Keywords

Viewer, Matlab, open

See Also

MatView(), VecView()

Location: src/viewer/impls/matlab/send.c
Viewer Index
Table of Contents