Possible Duplicate:
How to call MATLAB code from C?
Is there a method to call a MATLAB function from a C program?
My task is to calculate a pseudo inverse of a matrix generated in a C program using MATLAB. I want to pass the output obtained from MATLAB back to the C program again where it would undergo some calculations.