how to read 'categorical' values from 'mxArray'?
조회 수: 2 (최근 30일)
이전 댓글 표시
I would like to read the categorical output of 'SeriesNetwork.classify(...)' with my C program. However, I found that 'mxArray' did not expose values of categorical array, right?
댓글 수: 1
Shruthi Mysore Sadashiva
2017년 8월 2일
To better understand, are you asking are there any mex/mx APIs for categorical arrays.
답변 (1개)
Bo Li
2017년 8월 3일
You can’t create categorical arrays with mxArray API, as there is no categorical in the mxClassID:
I haven’t tried yet, but you should be able to pass such an array to your MEX file from MATLAB and use mexCallMATLAB in your MEX file to invokes its methods.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!