Matlab 2015a Path Warning

4 views (last 30 days)
Daniel
Daniel on 7 Aug 2015
Edited: Walter Roberson on 7 Aug 2015
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)

Answers (1)

Daniel
Daniel on 7 Aug 2015
Edited: Walter Roberson on 7 Aug 2015
To reproduce the error simply type:
path(path,'..')
path(path,'..')

Community Treasure Hunt

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

Start Hunting!