View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Benchmark clear() behavior with OOP handle

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 1.77 KB File ID: #23132 Version: 1.1

Benchmark clear() behavior with OOP handle



26 Feb 2009 (Updated )

Examine Matlab's "clear" behavior with different handle reference configurations.

| Watch this File

File Information

Create N handle objects, store 1-3 references to each.
Order of object creation, number of references, and configuration of references all have drastic impact on "clear" time as function of number of objects. Times range from flat, to linear, to quadratic.

Using a simple handle class:
% % classdef simpleHandle < handle
% % properties
% % ref1;
% % ref2;
% % end
% % methods
% % function self = simpleHandel
% % end
% % end
% % end

MATLAB release MATLAB 7.7 (R2008b)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
30 Mar 2016 1.1

Administrator requested update in order to auto-add BSD license.

Contact us