So I have a lot of cell manipulation in code I'm writing right now where it helps greatly to have cell functions of two arguments (e.g., to concatenate arrays in cells of the same size). However, MatLab is reacting confusingly to even simple uses of multiple-input cellfun calls, so I'd like to find out what I'm doing wrong (as I'm just following the MatLab function reference). For instance,
B = {[1 2;3 4] , [5 6;7 8]}
cellfun(mtimes,B,B)
returns
??? Error using ==> mtimes
Not enough input arguments.
In fact, it returns the same message if I input
cellfun(mtimes,B)
or
cellfun(mtimes,B,B,B,B)
Help?