how to edit mnrfit?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I would like to change the max iterations in mnrfit. So I copied the mnrfit.m file, and simply edit the following line: iterLim = 100; The new line is iterLim = 50; This is the only change in the file, and rename the function to mnrfit2, and rename the file mnrfit2.m. I tried to use my new mnrfit50 function in the same situation as mnrfit is used, however the following error occurs, why?
Undefined function 'stattestlink' for input arguments of type 'char'.
Error in mnrfit50 (line 146) [flink,dlink,ilink] = stattestlink(link,dataClass);
2 comentarios
manoj bhatt
el 21 de En. de 2020
I am also encountering the same problem. When I increase the dimensionality of data then max iteration related problem occurs.
Respuestas (1)
Walter Roberson
el 31 de Jul. de 2015
stattestlink is a function that is private to the implementation of mnrfit, in a directory named 'private' relative to the location of mnrfit. Your version, being outside that directory, does not pick up that implementation.
4 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!