Wednesday, 18 September 2013

What is expected from 'try & catch & keyboard'? Matlab

What is expected from 'try & catch & keyboard'? Matlab

This is the matlab code I tried to figure out.
try
fprintf('svmkernellearn: svm opts ''%s''\n', svm_opts_) ;
res = svmtrain(y(:), [(1:n)' K], svm_opts_) ;
catch
fprintf('svmkernellearn: caught something\n');
keyboard;
end
Here are the lines show in command window.
svmkernellearn: svm opts ' -t 4 -s 0 -v 10 -c 1e-005'
svmkernellearn: caught something
K>>
I never use try&catch before, and I have no idea what is the 'keyboard'
here expecting me to enter.
What should I enter after 'K>>'??
Thank you!

No comments:

Post a Comment