string to num
古いコメントを表示
Hi,
I am reading string data of this format from a text file:
(20:200,40:300)
This is the area of an image which I wish to select. How do I convert this string to number range. Thanks.
Charles-
採用された回答
その他の回答 (1 件)
osman
2011 年 12 月 7 日
0 投票
use str2num
2 件のコメント
Sean de Wolski
2011 年 12 月 7 日
That won't work. He'd going to need to parse the string based on '(,:' first
Charles
2011 年 12 月 7 日
カテゴリ
ヘルプ センター および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!