I can't for example plus tow elements of the UItable. Why????

Hi dear any body, When I want to plus tow elements of an uitable data, this below error will appear. how can I solve this problem?
the error : " Undefined function 'plus' for input arguments of type 'cell' "
I Use below command to read the table data.
dat=get(handles.tab1,'data'); n=dat(2,1)+dat(1,1);

 採用された回答

VAIBHAV
VAIBHAV 2013 年 8 月 31 日

0 投票

I think u need to convert ur string data into numerical format ie dat=str2double(get(handles.tab1,'data'));

1 件のコメント

Ted
Ted 2013 年 8 月 31 日
Thank you a lot my friend......

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeVariables についてさらに検索

質問済み:

Ted
2013 年 8 月 31 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by