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

 채택된 답변

Daniel Shub
Daniel Shub 2011년 10월 24일

0 개 추천

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

댓글 수: 5

Steven
Steven 2011년 10월 24일
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?
Daniel Shub
Daniel Shub 2011년 10월 24일
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
Steven
Steven 2011년 10월 24일
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?
Daniel Shub
Daniel Shub 2011년 10월 24일
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.
Steven
Steven 2011년 10월 25일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Steven
Steven 2011년 10월 25일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2011년 10월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by