check the data is number or not?

2 次查看(过去 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 CenterFile Exchange 中查找有关 Financial Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by