Jed, Thanks. One more thing, the function doesn't close file properly. I guess one should use fclose for that.
Regards, Alexander ----- Reply message ----- From: "Jed Brown" <[email protected]> To: "PETSc users list" <petsc-users at mcs.anl.gov> Subject: [petsc-users] PetscBinaryRead in matlab Date: Thu, Apr 19, 2012 17:12 On Thu, Apr 19, 2012 at 06:41, Alexander Grayver <agrayver at gfz-potsdam.de> wrote: You're right, it is undefined. Your variant works. http://petsc.cs.iit.edu/petsc/petsc-dev/rev/71a0e13876ec -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120419/c2f06931/attachment-0001.htm>
