MATLAB Coder use C arrays not emxArray

조회 수: 7 (최근 30일)
Gabriel Rios
Gabriel Rios 2021년 10월 13일
답변: Darshan Ramakant Bhat 2021년 10월 14일
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.

답변 (1개)

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by