Mode function not working
3 views (last 30 days)
Show older comments
I am trying to use the mode function in Matlab version 7.9.0 (R2009b) and it keeps giving me the same errors even when I enter examples from Matlab help. Is it possible to change the code myself or am I doing something wrong?
1 Comment
Answers (1)
Walter Roberson
on 23 Nov 2011
It would help if you were to indicate exactly what error you see.
Please command
which -all mode
and check to see whether MATLAB is picking up a mode.m file other than the MATLAB supplied one, which should be in
toolbox/matlab/datafun/mode.m
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!