Stats functions not working using university license on personal machine

2 views (last 30 days)
I'm having an issue with a stats toolbox function not working. I have R2011a installed using my university license on both my XP desktop and my VISTA laptop. The exprnd() function works fine on the XP machine, but not on the VISTA machine. >> license('test','statistics_toolbox') on the VISTA machine returns a 1, but >> ver does not return an installed version of the statistics toolbox in the list. (The XP machine returns a valid version)
I saw something about adding an OS environment variable in another post but didn't really understand the fix. Any tips?

Accepted Answer

Sean de Wolski
Sean de Wolski on 6 Dec 2011
Maybe try:
addpath(genpath([matlabroot '\toolbox\stats\']))
savepath
  3 Comments
Sean de Wolski
Sean de Wolski on 6 Dec 2011
That's possible. It could also be that you accidentally destroyed or removed the path doing something else, I'd say this is more likely.
Jeff D.
Jeff D. on 6 Dec 2011
Btw, now when I run
>> ver
I get two copies of Statistics Toolbox (both version 7.5) listed whereas none where listed before. Any idea why?

Sign in to comment.

More Answers (0)

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!