Ok, thanks but for writing in PETSC format what do you suggest?
On Thu, Jun 16, 2011 at 3:02 PM, Jed Brown <jed at 59a2.org> wrote: On Thu, Jun 16, 2011 at 14:48, ?zge erdem <ozergedem at gmail.com> wrote: > >> Can you give me more information how to use that >> viewer(PETSC_VIEWER_MATLAB) > > > This does not save it as a Matlab file, it talks to a running Matlab > session. To write a Matlab file, you can use > > > http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/docs/manualpages/DM/PetscViewerBinaryMatlabOpen.html > > But, especially for large files, it is much better to write a binary file > in PETSc format and load it from Matlab using > > $PETSC_DIR/bin/matlab/PetscBinaryRead.m > -- Ozge Erdem -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110617/5e6718a1/attachment.htm>
