0

Just wondering if MATLAB has an efficient dynamically expanding primitive, something akin to Java Collections? I realise that the Java API is always an option, but it can be a complete pain to use. Of course something like the ArrayList would be simple to implement, but I was specifically wondering about built-in data structures.

Thanks very much.

zellus
  • 9,617
  • 5
  • 39
  • 56
asdf123
  • 133
  • 1
  • 1
  • 5
  • this has been discussed before: http://stackoverflow.com/q/1548116/97160 (also make sure to look at the linked questions on the side) – Amro Dec 02 '10 at 22:42

1 Answers1

1

Map Containers should fit your criteria of built-in data structure.

Java Collections Framework might not be best as example for 'expanding primitive'. It is a framework implemented based on the Java language. Even in Java, 'primitive data types' are breaking pure object orientation.

zellus
  • 9,617
  • 5
  • 39
  • 56