mxCreateDoubleMatrix - what value is used to initialize the array ? Documentation incomplete
Afficher commentaires plus anciens
For applications built with the mex -R2018a command, the function initializes each data element to 0.
For all other mex release-specific build options, the function sets each element in the pr array. If ComplexFlag is mxCOMPLEX, then the function sets the pi array to 0.
The documentation is incomplete to my understanding.
What exactly is written to each element in the pr array when I compile without -R2018a (which is what I use by default) ?
Does the answer differ between mxREAL and mxCOMPLEX?
1 commentaire
Germain Pham
le 7 Août 2025
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!