classdef A < handle
properties
b = containers.Map
end
end
please note that containers.Map is itself a handle class, which is not covered in the copyobj function from Volkmar Glauche. You could recursively call copyobj for handle properties, but then you're facing the next problem of private properties (Maps has private props), which cannot be copied as already mentioned.
In order to copy this class, the "ugly" solution from Barry Ridge is unfortunately the only thing which works in order to deep copy an instance of class A.
any news on this issue from Mathworks?
best regards
kusi
07 Jan 2010
k-D tree
Perform closest point search or range query using a k-D tree implementation.
Author: Guy Shechter
Peter, make sure ..\kdtree\mex\win appears BEFORE ..\kdtree. You can change the order of paths in File->Set Path