Menu

How to read .mat file to C program

Budha Kh
2009-11-23
2012-09-26
  • Budha Kh

    Budha Kh - 2009-11-23

    I am a new user of Dev C++. I have .mat files created in Matlab which I want
    to read and use in C programme in Dev C++. Can anyone help?

     
  • cpns

    cpns - 2009-11-23

    This is not really a Dev-C++ specific question; you may do well to ask on a
    more general forum such as .

    The file format is fully documented here:

    A judicious [ yielded this open source library:

    : http://stackoverflow.com/
    : http://www.mathworks.com/access/helpdesk/help/pdf_doc/matlab/matfile_format
    .pdf

    : http://www.google.co.uk/search?hl=en-GB&q=matlab+mat-
    file+C+library&sourceid=navclient-ff&rlz=1B3GGGL_en-
    GBGB353GB353&ie=UTF-8

    : http://matio.sourceforge.net/](http://www.g
    oogle.com/search?hl=en&q=%5B3%5D+yielded+this+open+source+library%3A+%5Bhttp%3
    A%2F%2Fmatio.sourceforge.net%2F%5D%5B4%5D%0D%0A%0D%0A%0D%0A%0D%0A++%5B1%5D%3A+
    %5Burl%5Dhttp%3A%2F%2Fstackoverflow.com%2F%5B%2Furl%5D%0D%0A++%5B2%5D%3A+%5Bur
    l%5Dhttp%3A%2F%2Fwww.mathworks.com%2Faccess%2Fhelpdesk%2Fhelp%2Fpdf_doc%2Fmatl
    ab%2Fmatfile_format.pdf%5B%2Furl%5D%0D%0A++%5B3%5D%3A+%5Burl%5Dhttp%3A%2F%2Fww
    w.google.co.uk%2Fsearch%3Fhl%3Den-GB%26q%3Dmatlab%2Bmat-
    file%2BC%2Blibrary%26sourceid%3Dnavclient-ff%26rlz%3D1B3GGGL_en-GBGB353GB353%2
    6ie%3DUTF-8%5B%2Furl%5D%0D%0A++%5B4%5D%3A+%5Burl%5Dhttp%3A%2F%2Fmatio.sourcefo
    rge.net%2F%5B%2Furl%5D&btnG=Google+Search)

     
  • cpns

    cpns - 2009-12-31

    Try this thread http://www.daniweb.com/forums/thread98162-4.html I hope you can get more information
    from here.

    That appears to be related to your question on OCX and not at all related to
    the question. Don't dig up old threads to post irrelevant content!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.