Warnings in Command Window
조회 수: 12 (최근 30일)
이전 댓글 표시
When I started MATLAB and saw the messages below.
I have tried to uninstall and re-install MATLAB, but those warnings are still here. I'm using a MacBook Pro. I also have a R2020b MATLAB installed in my laptop because I need both versions of MATLAB. I'm not if that's causing the problem.
"Warning: Function contains has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function endsWith has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function isfile has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function isfolder has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function startsWith has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function iscolumn has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function ismatrix has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function isrow has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function isequaln has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function narginchk has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function isfile has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function isfolder has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function contains has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function endsWith has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function newline has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function startsWith has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. "
댓글 수: 2
채택된 답변
Stephen23
2022년 7월 21일
편집: Stephen23
2022년 7월 21일
"I'm not if that's causing the problem."
The problem is that you have added many subfolders to the MATLAB search path, that should not be there.
To fix those warnings, remove all FieldTrip folders from the MATLAB search path, e.g. by calling
restoredefaultpath
Note that the FieldTrip documentation explicitly states "In general you should not add FieldTrip with all subdirectories to your path... there are some functions for backward compatibility in fieldtrip/compat, which should only be added to your path in case you use the corresponding old MATLAB release" and then it procedes to explain exactly which toolbox folder needs to be added to the MATLAB search path. Note: folder, singular, i..e only one folder.
The FieldTrip documentation also explains how to reset the MATLAB search path and start again.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!