On Jul 30, 2010, at 12:27 PM, Sherm Pendley wrote:

> On Fri, Jul 30, 2010 at 1:00 PM, Chris Goedde <cgg.li...@gmail.com> wrote:
>> 
>> Anyone here have any experience calling Matlab from a Cocoa program?
>> 
>> I have a rather complex calculation that I've implemented in Matlab that I 
>> would like to call from a Cocoa program. (I could re-implement it in 
>> Objective C if absolutely necessary, but I would prefer not to; it would 
>> probably take me several weeks to get right.) Matlab comes with the glue to 
>> integrate with C/C++ (see 
>> http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f38569.html),
>>  so I think what I want to do should be possible.
> 
> Remember, Objective-C *is* C. The easiest thing to do IMHO would be to
> simply call the C functions.

That's what I was originally hoping to do, but I don't think it's that simple. 
As far as I can tell, it's not just a matter of including the right headers and 
linking to the right libraries. But maybe I'm not understanding the 
documentation correctly; that's why I was hoping to hear from someone who had 
actually done this with Cocoa.

Chris

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to