<div class="gmail_quote">On Tue, Nov 30, 2010 at 03:26, Rongliang Chen <span dir="ltr"><<a href="mailto:rongliang.chan@gmail.com">rongliang.chan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":vm">[A,x,y] = PetscBinaryRead('binaryoutput'), can this command load <br>
the binary files into matlab matrix and vector?</div></blockquote></div><br><div>Yes, this reads the binary files. You will need to add $PETSC_DIR/bin/matlab to your path (see "help addpath").</div><div><br></div>
<div>You should also call PetscViewerDestroy() when you are done with each viewer. In the source you quoted, this is never called.</div><div><br></div><div>Jed</div>