Check for incorrect argument data type or missing argument in call to function 'isnan'.

13 vues (au cours des 30 derniers jours)
What is the problem with the data types, why i get this error???

Réponses (1)

Dyuman Joshi
Dyuman Joshi le 15 Mai 2022
The output of inputdlg is in form of cell array as you can see it your command window (below your editor)
Use
isaNumber = isnan(strnum(a{1}))

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by