Undefined function 'initDistPar' for input arguments of type 'double'.
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Sean de Wolski
2012-11-15
Run:
dbstop if error
Then when the debugger stops:
which -all initDistPar
The output of this will enlighten you.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!