Actually my aim is to pass read only data to a C# class loaded in Matlab. Hence ideally it would be faster not to duplicate data but create a .NET array pointing to the Matlab array... is this possible?
Fast copy of Matlab array to .NET array
3 ビュー (過去 30 日間)
古いコメントを表示
On a modern machine NET.convertArray takes about 1.5 second to convert a 1GB Matlab uint8 1D array... Why is it so slow? Is there a faster way to transfer data from Matlab to a .NET array?
回答 (1 件)
Walter Roberson
2016 年 5 月 29 日
"Hence ideally it would be faster not to duplicate data but create a .NET array pointing to the Matlab array... is this possible?"
No. The array data is in-line with some overhead data about bounds and type.
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で .NET Methods in MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!