Fast copy of Matlab array to .NET array
Afficher commentaires plus anciens
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 commentaire
Sébastien Tosi
le 29 Mai 2016
Réponses (1)
Walter Roberson
le 29 Mai 2016
0 votes
"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 commentaires
Sébastien Tosi
le 30 Mai 2016
Walter Roberson
le 30 Mai 2016
I do not know about C# arrays.
Catégories
En savoir plus sur .NET Methods in MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!