On Wed, Mar 20, 2013 at 3:42 PM, Nachiket Gokhale <gokhalen at gmail.com>wrote:
> On Wed, Mar 20, 2013 at 4:38 PM, Nachiket Gokhale <gokhalen at gmail.com> > wrote: > > On Wed, Mar 20, 2013 at 4:22 PM, Barry Smith <bsmith at mcs.anl.gov> wrote: > >> > >> Why not just use one file, if Matlab is going to read them, it saves > you typing both when saving the matrices and when reading them in Matlab? > > > > Because I didn't realize I could store multiple matrices in one file. > > Is this true for binary as well? > > > Misunderstood what you said. MatLoad can read only one matrix from a file > > > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatLoad.html What makes you say that? Call MatLoad() again to get the second matrix. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130320/e3ffaac8/attachment.html>
