MATLAB compatibility fix: skip mode_compute=3 test under R2009b

In this version, fminunc fails due to Inf value.
parent 1912f677
@#include "fs2000.common.inc"
if exist('fminunc','file')
% Skip the test under R2009b, because fminunc fails due to Inf value.
% It remains to be determined in which version it started to work.
if exist('fminunc','file') && (isoctave || ~matlab_ver_less_than('7.10'))
estimation(mode_compute=3,order=1, datafile='../fs2000/fsdat_simul', nobs=192, mh_replic=0);
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment