Why does mxCreateDoubleMatrix() returns NULL?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 16 Jul. 2020
Bearbeitet: MathWorks Support Team
am 31 Jan. 2025
I am using the following MATLAB External Interface API, to create a double matrix
>> mxCreateDoubleMatrix(3,3,mxREAL)
It returns NULL, why?
Akzeptierte Antwort
MathWorks Support Team
am 25 Jan. 2025
Bearbeitet: MathWorks Support Team
am 31 Jan. 2025
Call the following API before using 'mxCreateDoubleMatrix'
>> mclInitializeApplication
This sets up the application state shared by all MATLAB Runtime instances created in the current process. For more information on this API, you can view the release-specific documentation by executing the following command in the MATLAB R2020a command window:
>> web(fullfile(docroot, 'compiler_sdk/cxx/mclinitializeapplication.html'))
For further information regarding the current release, please follow the link below:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu C Shared Library Integration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!