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

What does the error message "undefined function for input arguments of type 'logical' " indicate?

 Accepted Answer

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)

how to solve when the error message : Undefined function 'boxcount' for input arguments of type 'logical'. and how to recognize 'boxcount'?

1 Comment

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

Asked:

on 4 Oct 2012

Commented:

on 2 May 2021

Community Treasure Hunt

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

Start Hunting!