check the data is number or not?

3 views (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)

Community Treasure Hunt

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

Start Hunting!