how to read 'categorical' values from 'mxArray'?
Mostrar comentarios más antiguos
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 comentario
Shruthi Mysore Sadashiva
el 2 de Ag. de 2017
To better understand, are you asking are there any mex/mx APIs for categorical arrays.
Respuestas (1)
Bo Li
el 3 de Ag. de 2017
0 votos
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.
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!