mxCreateStructArray and mxCreateStructMatrix field name memory management
古いコメントを表示
I've been trying to find documentation on how the field names are managed with the structure creating functions in mex. Are the field name character arrays copied before being stored internally. Do the character array pointers need to point to the first character of Matlab managed memory (e.g. initialized via mxMalloc)? The only example I could find online was the phonebook.c, which took the string from another Matlab managed variable.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で C Matrix API についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!