Error message: "undefined function for input arguments of type 'logical' "

25 views (last 30 days)
What does the error message "undefined function for input arguments of type 'logical' " indicate?

Accepted Answer

Matt Fig
Matt Fig on 4 Oct 2012
Edited: Matt Fig on 4 Oct 2012
It indicates that there is no function by the name that you called for inputs of the logical type. So either you called a function that does exist, but you called it with an input that it didn't expect, or there just is no such function.

More Answers (1)

Syeera Riza
Syeera Riza on 2 May 2021
how to solve when the error message : Undefined function 'boxcount' for input arguments of type 'logical'. and how to recognize 'boxcount'?
  1 Comment
Stephen23
Stephen23 on 2 May 2021
boxcount is not an inbuilt MATLAB function. You need to download this FEX submission
and then unzip into onto the MATLAB search path (or into the current directory).

Sign in to comment.

Categories

Find more on Downloads 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!