Passing a 2D array from Matlab to a .NET function
이전 댓글 표시
I am working on a Matlab program in which I need to pass a 2D array (uint8, 128X128) to a .NET method.
I used Matlab function, zeros(128,128), to create this array and passed it to the .NET method. The method was supposed to write image data (bitmap) into this array. However, the array remained unchanged (i.e., all zeros) after calling the .NET method several times.
I greatly appreciate if you can provide me some suggestions regarding this issue.
답변 (1개)
Han Du
2017년 9월 22일
0 개 추천
How do you pass data to .NET function? Are you using MATLAB Engine API?
카테고리
도움말 센터 및 File Exchange에서 .NET Data Types in MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!