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

Antworten (1)

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

Kategorien

Mehr zu Data Type Identification finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 15 Mai 2022

Beantwortet:

am 15 Mai 2022

Community Treasure Hunt

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

Start Hunting!

Translated by