How can I pass a ragged array of Java primitive types to a Java function from MATLAB?
Ältere Kommentare anzeigen
I want to pass a nonrectangular array of doubles to a function that is a member of a Java class. A Java function can return a ragged array to MATLAB which is then converted to a cell array, but I cannot pass this array back to a Java function.
An example of a ragged array is:
A= [1 2 3;
4 5;
6 7 8]
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Call Java from MATLAB finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!