Howdy, Stranger!

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

Categories

Matlab interface to Generic DLLs + Structs

OrenSOrenS Member Posts: 1
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)
{
do_something_with_the_array();
}

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.