check the data is number or not?

1 visualizzazione (ultimi 30 giorni)
akshatha nayak
akshatha nayak il 7 Mag 2019
Risposto: KSSV il 7 Mag 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.

Risposte (1)

KSSV
KSSV il 7 Mag 2019
a = rand(3) ;
isnumeric(a)

Categorie

Scopri di più su Oceanography and Hydrology in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by