the error is most probably related to this one:
http://de.mathworks.com/matlabcentral/answers/241799-system-call-results-in-signal-126
fscanf fails because "FindCorners.exe" is not executed and in turn does not create the file read by fscanf. The referred thread does not provide a solution though :-/
The solution which worked for me was posted in the forum which jonathan already pointed out (http://de.mathworks.com/matlabcentral/answers/241799#answer_192042)
Execute >> setenv('LD_LIBRARY_PATH', ''); << in Matlab and the FindCorner.exe gets executed and the files are created which were not available and caused the error.
Cheers, Jonas
Your solution works on my system. Ubuntu 14.04 + Matlab R2014b
Cheers,
Juan