MATLAB: Does the documentation example for WINOPEN produce an error in MATLAB 7.10 (R2010a)

MATLAB

When I execute the following code from the documentation for WINOPEN:
winopen(which(meshgrid))
I receive the following error
??? Input argument "x" is undefined.
Error in ==> meshgrid at 38
if isempty(x) || isempty(y)

Best Answer

  • This change has been incorporated into the documentation in Release 2010b (R2010b). For previous releases, read below for any additional information:
    This is an error within the documentation for MATLAB 7.10 (R2010a) within the Examples section of WINOPEN. The last example should read as follows:
    winopen(which('meshgrid'))