Help with Statistics Toolbox: Output argument "err" (and maybe others) not assigned during call to "C:...file​path...\st​atsizechk.​m>statsize​ch

2 views (last 30 days)
I am using Matlab 7.11.0 (R2010b) Windows 32 bit with the statistics toolbox installed. I recieve this error when I use the pearsrnd function.
Error in ==> pearsrnd at 69 [err, sizeOut] = statsizechk(4,mu,sigma,skew,kurt,varargin{:});
??? Output argument "err" (and maybe others) not assigned during call to "C:\...filepath...\statsizechk.m>statsizechk".
While searching the web I found that others have recieved this error using different functions, but I have not found a solution.
Could I have the wrong toolbox version for my matlab release?
thanks,
susan

Accepted Answer

Susan
Susan on 15 Mar 2011
It turned out that I had old versions of a few toolbox functions in my directory. doh! Deleting them fixed the problem.
  5 Comments

Sign in to comment.

More Answers (2)

K Ashwini
K Ashwini on 19 Apr 2019
stat.JPG

K Ashwini
K Ashwini on 19 Apr 2019
stat.JPG

Categories

Find more on Manage Products 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!