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)

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!