check the data is number or not?

1 Ansicht (letzte 30 Tage)
akshatha nayak
akshatha nayak am 7 Mai 2019
Beantwortet: KSSV am 7 Mai 2019
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.

Antworten (1)

KSSV
KSSV am 7 Mai 2019
a = rand(3) ;
isnumeric(a)

Kategorien

Mehr zu Oceanography and Hydrology finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by