11-09-2002 05:51 PM
11-10-2002 04:53 AM
11-10-2002 09:22 AM
11-22-2002 07:37 AM
11-25-2002 03:09 PM
01-25-2013 08:20 AM
I am trying to do the same thing. And am stuck on how to create the mxArray so I can send it to my MatLab DLL.
Looks like this page has some tips. I think you need to call a helper function inside the exported DLL to initialize the arrays.
02-01-2013 01:41 PM
Seems like everyone says you need to create a "wrapper" DLL. But that is a major PITA. And I have only heard of 1 person who has been successful (no example LabVIEW code).
02-20-2013 01:12 PM
To answer my own post:
As it turns out, a solution to the mxArray problem is to have your Matlab function use bounded arrays (eg fixed length) instead of unbounded.
Fixed length arrays do not use the mxArray struct. They are standard pointers which LabVIEW can directly convert to LabvIEW array datatypes.
03-13-2015 05:03 AM
How do you use bounded arrays in a Matlab function? I have tried several things but seem to get always mxArray type in inputs and outputs.
01-16-2019 01:16 PM
I've put together an example on how to do this from start to finish: