Matlab 2015a Path Warning

1 次查看(过去 30 天)
Daniel
Daniel 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 CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by