matlab viewer variable name

Jed Brown jed at 59A2.org
Tue Nov 17 11:06:50 CST 2009


SUN Chun wrote:
> Hi,
> 
> When I MatView or VecView with matlab format, I am automatically
> assigned a variable name like "Mat_0", "Vec_1". Which function can I use
> to change this value?

PetscObjectSetName((PetscObject)yourvec,"Name_of_your_vec");


Jed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091117/da60267b/attachment.pgp>


More information about the petsc-users mailing list