How to fix this " Warning: Function j has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. "
조회 수: 2 (최근 30일)
이전 댓글 표시
I am using MATLAB R2015A on Windows 10. any idea?
댓글 수: 0
답변 (1개)
Stephen23
2015년 3월 21일
편집: Stephen23
2015년 3월 21일
Because i and j are both names of the inbuilt imaginary unit. Don't use these names and you wont get the warning.
You can check if name are already defined by using which. Note that shadowing inbuilt functions is generally a bad idea, unless you really know what you are doing, and is best avoided.
댓글 수: 2
Stephen23
2015년 3월 21일
편집: Stephen23
2015년 3월 21일
Is this a new MATLAB installation? Do you have a startup function? Have you ever changed the MATLAB search path? Do you use i or j as variable names? Have you installed any third-party functions of toolboxes?
I notice you also posted to the Newsreader:
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!