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

1 次查看(过去 30 天)
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

采纳的回答

John Chilleri
John Chilleri 2017-1-24
编辑:John Chilleri 2017-1-24
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!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by