statistics toolbox functions not working - yes it is installed!
Show older comments
I get an error "Undefined function or method 'function name' for input arguments of type 'double'." whenever I try to access a function in the statistics toolbox such as nanmean, iqr, etc.
I typed ver into the command window and it says I have the statistical toolbox version 7.5 installed (latest version up to date).
I am running Matlab version 7.12 release R2011a. Seems from this forum others are having similar problems. This used to work on my older version of Matlab just fine. May have to install the old version...pain!
Accepted Answer
More Answers (3)
Walter Roberson
on 19 Jul 2011
0 votes
As well as installing the software, you need a working license for that version of the Stats toolbox.
Sean de Wolski
on 19 Jul 2011
what does:
license('test','statistics_toolbox')
return?
Donna Calu
on 26 Oct 2016
0 votes
I have the same problem, but it is personal not institute licence. I typed in license('test','statistics_toolbox') and it returned a 1. What should I try next?
2 Comments
Walter Roberson
on 26 Oct 2016
Which MATLAB version are you using?
If you ask it
which -all normrnd
what does it output?
What is shown for
dir(toolboxdir('stats'))
Lauren
on 13 Mar 2025
I am having the same issue. When I input the first line of this code I get the output
>> which -all normrnd
'normrnd' not found.
When I input the second line I get
>> dir(toolboxdir('stats'))
. bayesoptim builtins distributed featlearn incremental pipeline stats timeseries
.. bigdata classreg doe gpu livetasks responsible statsdata
anomaly blocks clustering eml hypothesis mlearnapps semisupervised synthesis
I really don't know how to fix this. Do you know any more on this?
Categories
Find more on Introduction to Installation and Licensing 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!