check the data is number or not?

1 view (last 30 days)
akshatha nayak
akshatha nayak on 7 May 2019
Answered: KSSV on 7 May 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.

Answers (1)

KSSV
KSSV on 7 May 2019
a = rand(3) ;
isnumeric(a)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!