check the data is number or not?

1 回表示 (過去 30 日間)
akshatha nayak
akshatha nayak 2019 年 5 月 7 日
回答済み: KSSV 2019 年 5 月 7 日
when data entered in GUI i need to check whether the enetered data is number or not. If it is not a number i need to print error msg.

回答 (1 件)

KSSV
KSSV 2019 年 5 月 7 日
a = rand(3) ;
isnumeric(a)

カテゴリ

Help Center および File ExchangeOceanography and Hydrology についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by