Page 2 of 2
Re: Connecting to COCO from MATLAB
Posted:
12 April 2020, 17:32
by cocofan
Re: Connecting to COCO from MATLAB
Posted:
13 April 2020, 08:10
by jasper
Strange - for me the turn-around time of a call is slightly below a second. But this is still very long compared to solving a compressor of course.
Let me know if you succeed with the COM binding via python - I have never looked into that.
Re: Connecting to COCO from MATLAB
Posted:
13 April 2020, 14:52
by cocofan
Re: Connecting to COCO from MATLAB
Posted:
13 April 2020, 19:09
by jasper
Not sure whether the Python route will work. Pythoncom's idea of early binding is looking up the types and dispIDs in the TLB, and then create a py class that calls DispInvoke. and the latter of course depends on a proper implementation of IDispatch, which is exactly why late binding does not work.
I suppose to get proper early binding (call the interface functions, instead of DispInvoke), one would have to generate some c- or cpp-based python classes. Probably not what you are looking for.
Re: Connecting to COCO from MATLAB
Posted:
14 April 2020, 13:01
by jasper
Re: Connecting to COCO from MATLAB
Posted:
25 April 2020, 15:31
by jasper
Is this solution working for you?
Re: Connecting to COCO from MATLAB
Posted:
08 May 2020, 20:45
by cocofan
Hi Jasper, thanks a lot for posting your solution & sorry for the delayed response! I was going to update the post after trying out your workaround, but unfortunately haven't had a chance to do so yet. I'll let you know as soon as I can test it.
Re: Connecting to COCO from MATLAB
Posted:
22 May 2020, 09:16
by jasper
note that the recent COFE update contains some additional fixes.
Re: Connecting to COCO from MATLAB
Posted:
23 June 2020, 12:08
by Laurence