how to set gui's input to decimal

hi all, i have a simple queation.
in gui, when i use get from handles, the type of data is string. but, i need that data read as decimal, how i can do that??

 採用された回答

Sean de Wolski
Sean de Wolski 2011 年 6 月 21 日

0 投票

str2double is what you want
doc str2double

その他の回答 (1 件)

zikrullah muhammad
zikrullah muhammad 2011 年 6 月 21 日

0 投票

arigatou

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by