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. "
4 ビュー (過去 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 で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!