I have to do to correct this error
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Warning: Function disp has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
2 comentarios
Image Analyst
el 5 de Sept. de 2015
Is this just when you try to compile a program, like you asked in your duplicate question? http://www.mathworks.com/matlabcentral/answers/240039-this-error-does-not-allow-me-to-compile-my-executable-at-any-time-since-open-matlab-get-this-error#answer_191411 Or does it happen immediately upon startup? If so, check your startup.m file.
Respuestas (1)
Stephen23
el 4 de Sept. de 2015
Editada: Stephen23
el 4 de Sept. de 2015
Solution: don't name your function disp.
1 comentario
Stephen23
el 4 de Sept. de 2015
Editada: Stephen23
el 4 de Sept. de 2015
And on a similar note don't name any function or variable size, length, cell, i, j, cat, etc. which then shadow the inbuilt functions. You can use which to check which names are already used, and do not use any that are already defined.
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!