MATLAB: Do I receive this warning when I display grid on the axis

case sensitivewarning

Hi!!! Well, I execute this code on a checkbox and I receive this warning. Why?
checkboxStatus = get(handles.gridc,'Value');
if(checkboxStatus)
Grid On
else
Grid Off
end
guidata(hObject, handles);
Warning: Could not find an exact (case-sensitive) match for 'Grid'.
C:\Program Files\MATLAB\R2011a\toolbox\matlab\graph2d\grid.m is a
case-insensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactCaseMatch').
This warning will become an error in future releases.

Best Answer

There is no MATLAB command "Grid On". The MATLAB command is "grid on". See the reference documentation and note that MATLAB is case sensitive for function names.