Clear Filters
Clear Filters

MATLAB Coder use C arrays not emxArray

11 views (last 30 days)
I am trying to get the coder to use native C data types into a DLL that can be called from LabVIEW. That means producing datatypes that are Doubles, Ints,doulbe[], and double[][] array data types. Is there a way to configure the Coder to ensure this happens? I have trying to get it and I keep getting amxArray_real_T which does not play well with LabVIEW and would like to avoid writing a wrapper. Thanks for your time and help.

Answers (1)

Darshan Ramakant Bhat
Darshan Ramakant Bhat on 14 Oct 2021
You will get "emxarray" at the interface when you have a unbounded variable size data. I hope below documents will help you :




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!