Undefined function 'initDistPar' for input arguments of type 'double'.
1 view (last 30 days)
Show older comments
The problem lies in the following code.
param(j,:) = unifrnd(initDistPar(j,1),initDistPar(j,2),1,n);
The initDistPar was defined earlier in the code as
initDistPar = [0.9 1.1; 0 0.05; 0.01 0.1];
I've made sure the path, license etc is all ok.
Please can anybody figure out what the problem may be, its driving me crazy!
Kind regards,
Andy
0 Comments
Answers (2)
Sean de Wolski
on 15 Nov 2012
Run:
dbstop if error
Then when the debugger stops:
which -all initDistPar
The output of this will enlighten you.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!