I have a handle-based class that I need to create a vector of. An easy method of doing this is to dynamically construct the vector in a for loop, but this causes mlint>
Seems you can do this by a call to the empty method that is present in all non-abstract classes.
foo = HandleClass.empty(10,0); for i = 1:10 foo(i) = HandleClass(); end