On Tue, Nov 30, 2010 at 03:26, Rongliang Chen <rongliang.chan at 
gmail.com>wrote:

> [A,x,y] = PetscBinaryRead('binaryoutput'), can this command load
> the binary files into matlab matrix and vector?
>

Yes, this reads the binary files.  You will need to add
$PETSC_DIR/bin/matlab to your path (see "help addpath").

You should also call PetscViewerDestroy() when you are done with each
viewer.  In the source you quoted, this is never called.

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101130/c1eb3531/attachment.htm>

Reply via email to