Dear Ghassan Hamarneh,<div><br></div><div>I got nothing from that link. My code from .mat file readingis here:</div><div> </div><div><div>#include "mat.h"</div><div><br></div><div>int main(int argc, char **argv)</div>
<div>{</div><div> MATFile *pmat;</div><div> mxArray *pa;</div><div> pmat = matOpen("1.mat", "r");</div><div> if (pmat == NULL) {</div><div> printf("Error opening file\n");</div>
<div> return(1);</div><div> }</div><div> return 0;</div><div>}</div><div><br></div><div>when i compiled and build this code then following error come</div><div><br></div><div>error LNK2019: unresolved external symbol _matOpen referenced in function _main</div>
<div><br></div><div>Can any body help me who can i read .mat file in ITK + C++. please help me</div><br><div class="gmail_quote">On Wed, Dec 8, 2010 at 6:45 PM, Ghassan Hamarneh <span dir="ltr"><<a href="mailto:hamarneh@gmail.com">hamarneh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hope this helps: <a href="http://www.itk.org/pipermail/insight-users/2007-November/024337.html" target="_blank">http://www.itk.org/pipermail/insight-users/2007-November/024337.html</a> /g<br>
<div><div></div><div class="h5"><br>
<br>
On 2010-12-08, at 6:03 AM, Humayun Irshad wrote:<br>
<br>
> Dear all,<br>
><br>
> I am new user of ITK. I am trying to read a .MAT file in ITK + C++. But unable to read it. Can you any guide me and send me the code of reading .Mat file.<br>
> There is structure in .Mat File that i want to read.<br>
><br>
> --<br>
> --<br>
> Best Regards,<br>
><br>
> Humayun Irshad<br>
><br>
> Pakistan<br>
><br>
> Cell: +92-333-6128780<br>
><br>
</div></div>> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br>Best Regards, <br><br>Humayun Irshad<br><br>Pakistan<br><br>Cell: +92-333-6128780<br><br>
</div>