nschloe/matlab2tikz — pull request #98 by drgz (2012-05-09 07:34:34+00:00)
Title: minor fixes

Removed a loop where it was possible to vectorize and use logical indices, and preallocated memory of a cell to avoid it changing size for each iteration. Also changed to dynamic field name where it was used setfield() - which is how Mathworks recommend to assign new fields to structs.