mxCreateDoubleMatrix - what value is used to initialize the array ? Documentation incomplete
Mostrar comentarios más antiguos
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 comentario
Germain Pham
el 7 de Ag. de 2025
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!