why do get an error when I use the help function?

2 Ansichten (letzte 30 Tage)
Raymond Kazibwe
Raymond Kazibwe am 24 Jan. 2017
Kommentiert: Raymond Kazibwe am 24 Jan. 2017
Hi guys,i've attempted to use the help function on MAC Book Pro OS X El Capitan but it shows me the error message below.I'm using R2014a!Could someone please tell me what the problem could be!Thanks!
Attempt to execute SCRIPT help as a function: /Users/raymondkazibwe/Documents/MATLAB/help.m
Error in LeslieDior (line 2) help tan

Akzeptierte Antwort

John Chilleri
John Chilleri am 24 Jan. 2017
Bearbeitet: John Chilleri am 24 Jan. 2017
Hello,
It seems that you have a script/function named help.m in the directory.
You should rename this to something unique, and avoid ever naming your scripts/functions after built in commands/functions.
Once renamed to something other than help.m, the help command should work again!
Hope this helps!

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown 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