Matlab 2015a Path Warning

1 Ansicht (letzte 30 Tage)
Daniel
Daniel am 7 Aug. 2015
Bearbeitet: Walter Roberson am 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)

Antworten (1)

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

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by