Thread: glue C and matlab code

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    5

    glue C and matlab code

    Hello,

    I have a piece of C code which reads raw data from some log file, and process it to make a matrix for matlab. After matlab computation, I have another piece of C to do some other work base on matlab result.

    My question is how to pass matrix among C and matlab. I'm using ubuntu.
    How to automate the whole process as much as possible?

    Thanks a lot!

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ to matlab
    By loga in forum C++ Programming
    Replies: 1
    Last Post: 02-10-2008, 01:33 AM
  2. Matlab vs. R
    By ch147 in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 11-14-2007, 11:57 AM
  3. C/C++ and Matlab?
    By darkwalk in forum C++ Programming
    Replies: 2
    Last Post: 10-21-2006, 03:00 AM
  4. Poosible to 'glue' two strings together?
    By Wiretron in forum C Programming
    Replies: 9
    Last Post: 08-28-2006, 11:58 PM
  5. Matlab to C/C++
    By jisarrar in forum C Programming
    Replies: 2
    Last Post: 01-31-2006, 07:01 AM