MATLAB code error clarification
17 views (last 30 days)
Show older comments
Chethana Unni P
on 20 Mar 2021
Commented: Image Analyst
on 20 Mar 2021
Can anyone explain the error quoted below?
>> CalcMeasures
Not enough input arguments.
Error in CalcMeasures (line 3)
if size(Y,2) ~= 1
0 Comments
Accepted Answer
Steven Lord
on 20 Mar 2021
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 Comments
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!