probml / pmtk3

Probabilistic Modeling Toolkit for Matlab/Octave.
MIT License
1.55k stars 797 forks source link

Error: "need to specify printFolder" when running testPmtk3 #131

Closed jiongjiongli closed 6 years ago

jiongjiongli commented 6 years ago

testPmtk3 Checking initialization..........PASSED Checking pmtkSupport packages....PASSED Checking pmtkData................PASSED Testing selected code............

Iteration FunEvals Step Length Function Val Opt Cond 1 2 3.06026e-001 6.00879e+000 3.76102e-001 2 3 1.00000e+000 5.95831e+000 7.22403e-002 3 4 1.00000e+000 5.95404e+000 2.24065e-002 4 5 1.00000e+000 5.95362e+000 2.54132e-003 5 6 1.00000e+000 5.95361e+000 2.11563e-004 6 7 1.00000e+000 5.95361e+000 1.44970e-005 Directional Derivative below progTol low = 23.5706 high = 28.8537 ans = 389.0021 ??? Error using ==> printPmtkFigure at 16 need to specify printFolder

Error in ==> discrimAnalysisDboundariesDemo at 45 printPmtkFigure(fnames{i});

Error in ==> testPmtk3 at 64 discrimAnalysisDboundariesDemo;

jiongjiongli commented 6 years ago

Fixed this issue by adding folder path to function "printPmtkFigure" and removing code: error('need to specify printFolder')