Clear Filters
Clear Filters

MATLAB Coder use C arrays not emxArray

10 views (last 30 days)
All,
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 :

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!