accessing functions in Statistics toolbox

OK, stupid question of the day (week? year?) ... I am trying to access the Statistics toolbox, which supposedly comes free as part of the student version R2011a that I have, but I can't find it. Specifically, I am trying to use the probability density function (pdf) that is part of the statistics toolbox, but no go. Can anyone help? Am I overlooking something obvious?
Thanks, Steve

 Accepted Answer

I would try
ver
and
license
and
license('test', 'statistics_toolbox')
to see if the statistics toolbox is installed.

5 Comments

Thank you Daniel. I get a "1" when I try the last line you suggested, which means it's installed I think. But I get error messages when I try to use commands that are part of the statistics toolbox. Is there something extra I need to do to access it?
I would look to see if it is on your path.
path
there should be a line that looks something like: .../toolbox/stats/stats
I am not using the student version, so I don't know exactly wha the path should be.
You might also want to try
which pdf
It's not in my path, but I can't add it to my path because when I look under my Matlab folder I see nothing under toolboxes that would correspond to the statistics toolbox - no 'stats/' or 'statistics/' etc. It seems like I have to do another installation perhaps?
I would try a reinstall of MATLAB. You probably do not even have to uninstall it, just rerun the isntaller. Make sure you check any boxes that ask about what toolboxes you want to install.
Thanks again and sorry for the delay. I did try to reinstall, but only two check boxes showed up on the installation GUI - one for Matlab itself, and the other for the Wavelets Toolbox, which I have and is working fine. There was no check box for a Statistics Toolbox or any other toolbox, for that matter. Then I tried reinstalling from a command line with an input file in which I un-commented the line for installing the Statistics Toolbox, but got the same result - only two check boxes. I've submitted a request to Matlab support because this seems like something out of my control.

Sign in to comment.

More Answers (1)

Steven
Steven on 25 Oct 2011
Got it! Just had to go back to mathworks.com with my order number, and download the student installer again, with all the toolboxes checked, including the stats toolbox. All installed and working properly now. Thanks for your help, Daniel.
-Steve

Categories

Community Treasure Hunt

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

Start Hunting!