Why does mxCreateDoubleMatrix() returns NULL?
조회 수: 1 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2020년 7월 16일
편집: MathWorks Support Team
2025년 1월 31일
I am using the following MATLAB External Interface API, to create a double matrix
>> mxCreateDoubleMatrix(3,3,mxREAL)
It returns NULL, why?
채택된 답변
MathWorks Support Team
2025년 1월 25일
편집: MathWorks Support Team
2025년 1월 31일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!