matlab viewer variable name

Barry Smith bsmith at mcs.anl.gov
Tue Nov 17 11:06:57 CST 2009


    PetscObjectSetName((PetscObject)x, "myname");


On Nov 17, 2009, at 11:00 AM, 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?
>
> Sorry, I had a feeling I have seen this question asked before. Spent
> 30min searching and didn't find...
>
> Thanks,
> Chun



More information about the petsc-users mailing list