Mex and digraph in C++
Ältere Kommentare anzeigen
does anybody now how to create digraph and point an mxArray in C++ to it? In the doc nothing was stated about graphs, digraphs or tables.sure you could create mxArray pointing to matrices in C++ and do the transformation inside matlab, But isn't there a direct methode?
Akzeptierte Antwort
Weitere Antworten (1)
Michael Croucher
am 27 Aug. 2020
0 Stimmen
I discovered this thread while googling for the same question as Lightonz. It appears there is a way to do this now using matlab::engine::MATLABEngine::setProperty and matlab::engine::MATLABEngine::getProperty member functions. Documentation at https://www.mathworks.com/help/matlab/matlab_external/use-matlab-objects-in-mex-functions.html
Kategorien
Mehr zu Construction finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!