Growable data structure in MATLAB

Posted by rlbond on Stack Overflow See other posts from Stack Overflow or by rlbond
Published on 2010-04-12T20:08:27Z Indexed on 2010/04/12 20:13 UTC
Read the original article Hit count: 284

Filed under:
|

I need to create a queue in matlab that holds structs which are very large. I don't know how large this queue will get. Matlab doesn't have linked lists, and I'm worried that repeated allocation and copying is really going to slow down this code which must be run thousands of times. I need some sort of way to use a growable data structure. I've found a couple of entries for linked lists in the matlab help but I can't understand what's going on. Can someone help me with this problem?

© Stack Overflow or respective owner

Related posts about matlab

Related posts about linked-list