Why do I receive this warning when I display grid on the axis?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
0 commentaires
Réponse acceptée
Walter Roberson
le 3 Juin 2011
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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!