Hello all, I have never used the MATLAB engine from C before. I have a very basic question: What exactly is the benefit of this? To provide some more detail, for example, if I were to perform a conjugate multiply of two very large arrays, MATLAB would typically barf because of "out of memory" issues. Would running MATLAB functions "behind the scenes" by invoking the engine help in this regard? I realize the speed up of the process here instead of having to rewrite the MATLAB function in C but I wonder if my large data files will run through better of will it have the same problem. Thank you.
MATLAB engine benefits
Started by ●October 20, 2008
Reply by ●October 20, 20082008-10-20
parth_vakil@yahoo.com wrote:> Hello all, > > I have never used the MATLAB engine from C before. I have a very basic > question: > > What exactly is the benefit of this? To provide some more detail, for > example, if I were to perform a conjugate multiply of two very large > arrays, MATLAB would typically barf because of "out of memory" issues. > Would running MATLAB functions "behind the scenes" by invoking the > engine help in this regard? > > I realize the speed up of the process here instead of having to > rewrite the MATLAB function in C but I wonder if my large data files > will run through better of will it have the same problem. > > Thank you.If that's all you're doing, look up the JAMA or TNT engines on the NIST web site, or find one of the other C-compatible numerical toolkit ports. I could see some use if you were using some of the bells and whistles that MATLAB provides, but if you're just using LINPACK or EISENPACK functions, go with the real deal. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" gives you just what it says. See details at http://www.wescottdesign.com/actfes/actfes.html
Reply by ●October 21, 20082008-10-21
parth_vakil@yahoo.com wrote:> Hello all, > > I have never used the MATLAB engine from C before. I have a very basic > question: > > What exactly is the benefit of this?None. MATLAB is for stupidents. It is the entity beyond the necessity. Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com