Missing Statistics Toolbox

24 views (last 30 days)
Carl
Carl on 18 Nov 2011
Commented: Hoi Wong on 23 Jan 2018
Hello,
I have licenses for several toolboxes, but when I open MATLAB, one of them, the statistics toolbox, does not appear. I do not find it in the help menu and cannot access any of its functions.
I am running 2012b on a Mac with OSX. I have tried uninstalling, downloading, and reinstalling MATLAB in its entirety. I have also tried re-downloading and installing the statistics toolbox itself. When I do the latter, the computer insists that the toolbox is already installed and forces me to overwrite it.
Finally, I get the following message when I start MATLAB, which I suspect may be related to the problem.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/dastudio.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simulink.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simulink/slresolve.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/blocks.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/components.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/fixedandfloat.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/fixedandfloat/fxpdemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/fixedandfloat/obsolete.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simdemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simdemos/aerospace.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simdemos/automotive.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simdemos/simfeatures.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simdemos/simgeneral.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/dee.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/dastudio/depviewer.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/stateflow/stateflow.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/rtw/rtw.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/sigbldr.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simulink/modeladvisor.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simulink/modeladvisor/fixpt.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simulink/MPlayIO.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/simulink/simulink/dataobjectwizard.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/hdlshared.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/rtw/accel.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/stateflow/sfdemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/stateflow/coder.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/compiler.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/database/database.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/database/dbdemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/database/vqb.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/eml/eml.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/emlcoder/emlcoder.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/emlcoder/emlcodermex.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/simtargets.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/fixedpoint/fixedpoint.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/fixedpoint/fidemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/fixedpoint/fixedpointtool.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/ident/ident.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/ident/nlident.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/ident/idobsolete.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/ident/idguis.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/ident/idutils.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/ident/iddemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/ident/iddemos/examples.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/ident/idhelp.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/images/colorspaces.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/images/images.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/images/imdemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/images/imuitools.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/images/iptformats.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/images/iptutils.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/imageslib.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/spcuilib.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/javabuilder/javabuilder.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/map/map.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/map/mapdemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/map/mapdisp.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/map/mapformats.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/map/mapproj.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/mapgeodesy.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/map/maputils.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/slvnv/simcoverage.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/optim/optim.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/optim/optimdemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/signal/signal.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/signal/sigtools.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/signal/sptoolgui.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/signal/sigdemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/siglib.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/filterdesignlib.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/sl3d/sl3d.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/sl3d/sl3ddemos.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/shared/sldv.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/splines.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/symbolic.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/wavelet/wavelet.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/wavelet/wmultisig1d.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/wavelet/wavedemo.
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2011b.app/toolbox/wavelet/compression.
Any help will be appreciated.
Regards, Carl

Accepted Answer

Robert Canfield
Robert Canfield on 22 Jun 2012
I had this problem, too, on a Mac OS X computer. I tracked it to the pathdef.m file in the ~/Documents/MATLAB folder. Remove that file and restart MATLAB. There are also hidden settings files in the ~/.matlab folder, which I deleted, but removing those alone was not sufficient.
  2 Comments
Carl
Carl on 22 Jun 2012
My tech support people actually solved this a month or so ago, but you got it right. If you run into the problem again, here is their full answer; it seems there's another way of doing it than pathdef; that was the way I ended up using.
Thank you for responding!
"Anyway, it appears that toolbox installation involves unpacking the
distribution in the toolboxes directory and adding the toolbox to your
path. You said you could see the .../toolbox/stats directory? I think
you should be able to use the toolbox if you use the addpath command to
add toolbox/stats/stats and toolbox/stat/statsdemos to your path. You
can use savepath to remember it.
Or it seems you could edit toolbox/local/pathdef.m where the paths to
all the toolboxes are stored."
Paul McKinney
Paul McKinney on 30 Apr 2017
THANK YOU !

Sign in to comment.

More Answers (2)

Honglei Chen
Honglei Chen on 18 Nov 2011
Hi Carl,
Does
rehash toolboxreset
rehash toolboxcache
help? Also, if you do
ver
Do you see Statistics Toolbox?
  3 Comments
Andreas Goser
Andreas Goser on 22 Nov 2011
It looks like the administrator at your institute can provide you the information to install all products of this license. If he needs help, he shouls call installation support.
Sean de Wolski
Sean de Wolski on 14 Mar 2012
Copying Carl's comment with license censored:
Hi Honglei,
Thank you for your advice.
Here is my version info, after the two rehash commands you suggested:
>> rehash toolboxreset
>> rehash toolboxcache
>> ver
-------------------------------------------------------------------------------------
MATLAB Version 7.13.0.564 (R2011b)
MATLAB License Number: ######### [SCd Censor]
Operating System: Mac OS X Version: 10.6.8 Build: 10K549
Java VM Version: Java 1.6.0_26-b03-384-10M3425 with Apple Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version 7.13 (R2011b)
Bioinformatics Toolbox Version 4.0 (R2011b)
Curve Fitting Toolbox Version 3.2 (R2011b)
>>
As you can see, the rehashes don't seem to help. I am wondering if my uninstall was not complete; so far I have only tried deactivating and dragging the application to the trash folder, but I suspect there is some kind of preferences folder somewhere that is not being deleted.
I'll appreciate any further suggestions you have!
Carl

Sign in to comment.


nauti
nauti on 21 Mar 2017
I am getting an error while iam trying to run face recognition technique the one thats is shown in matlab tutorials
while iam trying to run this
faceClassifier = fitcecoc(trainingFeatures,trainingLabel);
it is showing an error as
Previously accessible file "C:\Program Files\MATLAB\MATLAB Production Server\R2015a\toolbox\stats\classreg\fitcecoc.m" is now inaccessible.
can anyone help me with that ... and here is one more thing when i was adding to path C:\Program Files\MATLAB\MATLAB Production Server\R2015a\toolbox
there was no stats folder in my toolbox there ...
can anyone helpme with that and can i download that externally ??
  1 Comment
Hoi Wong
Hoi Wong on 23 Jan 2018
Me too. The stats and machine learning toolbox on a machine disappeared a few months ago (haven't used it for months). This is a work machine that we clearly ordered and have the stats toolbox since 2015.
It's R2015b, not production server, and I have "Previously accessible file "C:\Program Files\MATLAB\R2015b\toolbox\shared\statslib\cell2dataset.m" is now inaccessible.
I also confirmed that the \toolbox\stats and \toolbox\shared\statslib are simultaneously gone too. Looks like it was specifically targeted for removal.
Even more weird, I opened the uninstaller, the stats & machine learning toolbox is checked, so it had been installed as expected. So somehow only the stats toolbox folders got removed magically?
Thanks nauti for posting the issue. At least I'm not questioning my sanity for this.

Sign in to comment.

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!