MATLAB Coder - Best practice for using lists
이전 댓글 표시
Hi,
I'm developing a sorting/detection algorithm. The best way I would think to do it in C++ would be to use lists. What would be the correct way to write it in MATLAB so that the translated C++ version uses lists? Ideally, the C++ version would take advantage of member functions like 'push_back','pop_front', etc. Are lists even supported? Or is everything always turned into an array?
Thanks,
답변 (1개)
Ryan Livingston
2014년 11월 2일
0 개 추천
MATLAB Coder does not currently generate C++ code that utilizes the STL data structures. You can view the mapping between MATLAB types and C/C++ types here:
카테고리
도움말 센터 및 File Exchange에서 MATLAB Coder에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!