Re: Calling Matlab from Cocoa
Re: Calling Matlab from Cocoa
- Subject: Re: Calling Matlab from Cocoa
- From: Chris Goedde <email@hidden>
- Date: Fri, 30 Jul 2010 16:15:00 -0500
On Jul 30, 2010, at 12:27 PM, Sherm Pendley wrote:
> On Fri, Jul 30, 2010 at 1:00 PM, Chris Goedde <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden