I have to do to correct this error
Show older comments
Warning: Function disp has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
2 Comments
Eduardo Arizmendi
on 5 Sep 2015
Image Analyst
on 5 Sep 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.
Answers (1)
Solution: don't name your function disp.
1 Comment
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.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!