<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>Hello,</div><div> </div><div>Are there any PETSc subroutines to output the matrix and right-hand-side to files in CRS for MATLAB format? There seems to be PetscViewerASCIIOpen subroutine, does it also output rhs? Is there any example code for this?</div><div> </div><div>Many thanks,</div><div>Qin</div></div></body></html>