how to read 'categorical' values from 'mxArray'?
이전 댓글 표시
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일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!