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

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

 Réponse acceptée

John Chilleri
John Chilleri le 24 Jan 2017
Modifié(e) : John Chilleri le 24 Jan 2017

1 vote

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!

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by