C++ std::vector transferring

How can I send vector<vector<double>> result; matrix to matlab? Should I use memcpy:
memcpy((void *)mxGetPr(A), ??? , sizeof(double)*ResultSize);
Thank you.

Answers (0)

Categories

Find more on Debugging and Improving Code in Help Center and File Exchange

Tags

Asked:

on 4 Aug 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!