[petsc-users] how to import an array from matlab?

siddhesh godbole siddhesh4godbole at gmail.com
Tue Jan 27 01:52:31 CST 2015


Hello,
i am trying to import an array of 10000 elements into petsc. interfacing
fails when i try to use launch('./mycode',np,opt) in my matlab due to some
incompatibility. Then i tried importing .mat file into petsc and i got
stuck.
Can you please tell me how can i import an array from matlab into petsc and
use it for my calculations?
 Thanks in advance!

*Siddhesh M Godbole*

5th year Dual Degree,
Civil Eng & Applied Mech.
IIT Madras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150127/6a3c2743/attachment.html>


More information about the petsc-users mailing list