MATLAB code error clarification

15 次查看(过去 30 天)
Can anyone explain the error quoted below?
>> CalcMeasures
Not enough input arguments.
Error in CalcMeasures (line 3)
if size(Y,2) ~= 1

采纳的回答

Steven Lord
Steven Lord 2021-3-20
Your CalcMeasures function requires you to call it with at least one input argument. You called it with zero input arguments. Because of this MATLAB doesn't know on which data it should calculate the measures.
  2 个评论
Chethana Unni P
Chethana Unni P 2021-3-20
What does it mean by input arguments? Can you please explain with an example

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by