Why to use gobjects

3 views (last 30 days)
Alexander Mering
Alexander Mering on 14 Aug 2014
While scanning through the last release notes, I discovered for R2013b the point:
Graphics
gobjects function for preallocating graphics handle array
The gobjects function creates an array of graphics handles. Use this function instead of the ones or zeros function when preallocating an array to store graphics handles.
Why should gobjects be used and what is the benefit from it? Documentation is not that helpful about this.
Thanks,
Alexander

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!