How to convert my mexFunction into external C function for Matlab Coder
Afficher commentaires plus anciens
I have a mexFunction C source code that does json decoding, I was using it with coder.extrinsic but I just got to know that extrinsic functions cannot be used in Standalone Code Generation to C.
I want to convert this mexFunction code such that I can call it using coder.ceval
Do I need to remove all the mxArray, mxCreateStructMatrix types and use plain C data types, or is there a way to keep the current implementation of the mexFunction and get away with making minimal changes to make it an external function?
My input is a json string, and my output is a complicated structure similar to what jsondecode would give in matlab.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur JSON Format dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!