%
%  Check, ob ex. Matlab-Handle
%
function res = isMatlabHandle( obj )
   res = 1;
   if( isempty(obj) || ~ishandle(obj) )
     res = 0;
   end
end