[petsc-users] petsc-users Digest, Vol 23, Issue 32
Jed Brown
jed at 59A2.org
Tue Nov 30 02:29:17 CST 2010
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>
More information about the petsc-users
mailing list