view test/bug-58572/bug58572.m @ 31237:e3016248ca5d

uifigure.m: Call set () only if varargin is not empty (bug #63088) * uifigure.m: Call set () only if varargin is not empty.
author John Donoghue <john.donoghue@ieee.org>
date Wed, 21 Sep 2022 09:55:32 -0400
parents 1be719d8b375
children
line wrap: on
line source

classdef bug58572
  methods
    function rslt = use_num (obj)
      rslt = cellfun (@isnumeric, {'a_name'});
    endfunction
    function rslt = isnumeric (obj)
      if (! isa (obj, 'bug58572'))
        error ('bug58572.isnumeric called without object!');
      endif
      rslt = true;
    endfunction
  endmethods
endclassdef