MATLAB Coder use C arrays not emxArray

5 vues (au cours des 30 derniers jours)
Gabriel Rios
Gabriel Rios le 13 Oct 2021
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.

Réponses (1)

Darshan Ramakant Bhat
Darshan Ramakant Bhat le 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 :

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by