MATLAB Coder use C arrays not emxArray

9 ビュー (過去 30 日間)
Gabriel Rios
Gabriel Rios 2021 年 10 月 13 日
回答済み: Darshan Ramakant Bhat 2021 年 10 月 14 日
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 :

Community Treasure Hunt

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

Start Hunting!

Translated by