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

조회 수: 39 (최근 30일)
What is the problem with the data types, why i get this error???

답변 (1개)

Dyuman Joshi
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}))

카테고리

Help CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by