glue C and matlab code

This is a discussion on glue C and matlab code within the C Programming forums, part of the General Programming Boards category; Hello, I have a piece of C code which reads raw data from some log file, and process it to ...

  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
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,270
    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, 04:00 AM
  4. Poosible to 'glue' two strings together?
    By Wiretron in forum C Programming
    Replies: 9
    Last Post: 08-29-2006, 12:58 AM
  5. Matlab to C/C++
    By jisarrar in forum C Programming
    Replies: 2
    Last Post: 01-31-2006, 07:01 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21