Check for incorrect argument data type or missing argument in call to function 'isnan'.
37 次查看(过去 30 天)
显示 更早的评论
What is the problem with the data types, why i get this error???
0 个评论
回答(1 个)
Dyuman Joshi
2022-5-15
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}))
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!