Matlab 2015a Path Warning

1 回表示 (過去 30 日間)
Daniel
Daniel 2015 年 8 月 7 日
編集済み: Walter Roberson 2015 年 8 月 7 日
When adding a folder to the path using the path.m function, I get the following warning if the folder is already on the path. Since I add the path in a program, if I run the program twice I get this warning. This problem did not occur with earlier versions of Matlab. (I am running on a Mac).
The warning is: Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. > In path (line 109)

回答 (1 件)

Daniel
Daniel 2015 年 8 月 7 日
編集済み: Walter Roberson 2015 年 8 月 7 日
To reproduce the error simply type:
path(path,'..')
path(path,'..')

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by