|
"pink" wrote in message <itc3ke$cn3$1@newscl01ah.mathworks.com>...
> I make the logic function of a uitable, if the data in the table is empty then it will appear wrndlg
> my code
> table=get(handles.uitable2,'data')
> while isempty(cell(table))
> warndlg('warning')
> return
> end
>
> result
> table =
>
> '' ''
> '' ''
> '' ''
> '' ''
>
> ??? Undefined function or method 'times' for input arguments of type 'cell'.
>
> Error in ==> untitled>pushbutton2_Callback at 99
> data=table.*2
> Error in ==> gui_mainfcn at 96
> feval(varargin{:});
Hi,
since your 'table' is a cell, you can't multiply it with anything else. If you have to multiply it , you need to convert it to a matrix.
hth,
Krishna
|