Java LinkedList for Matlab Array

In one answer to the MATLAB linked list, the responder suggests using Java related lists that seem like a great solution, but it’s not clear which elegant way is to convert the linked list (once built) to an array of Matlab cells (I think one has a for loop, but that seems a bit awkward ...

EDIT looks like cell (foo) converts a java array into a matlab array, but it's not quite the same ... EDIT Enlightenment. If a- LinkedList, then

cell(a.toArray(a))

does the trick.

+5
source share
1 answer

, : cell(a.toArray(a)) , .

+5

All Articles