Matlab interface to Generic DLLs + Structs

I've wrote a C-Style DLL to use from Matlab and one of the functions has a parameter that is an array of a custom struct. For example:

struct my_struct{
int x,y;

void do_something(my_struct* theArray, int arraySize)

My problem is to pass the first argument to the function.
How can I create a libpointer to a libstruct array?

Thanks, Oren
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!