aQaSoft - 2015-04-18

In the process of testing the framework under different environments, I have found an error in Matlab versions R2009b and R2010a; it is said to have been reported as a known bug and was not present in previous evaluations of nn22 in Matlab R2012b.

The error pops up upon calling the _Constants.m file for any Neural Network. Say, for a nn with Base Name 'and' the error would be:

??? Undefined variable "and_Constants" or class "and_Constants.m".
Error in ==> run at 74
    evalin('caller',[script ';']);

The solution was found at http://www.mathworks.com/matlabcentral/answers/2406-executing-an-m-file-using-a-string-for-calling

...and it consists in replacing lines #228 and #440:

run(nnFilesConstants);



with:

run(fullfile(cd, nnFilesConstants));



The proposed solution is added to v2015.04.18, available for download at the time of this post.

 

Last edit: aQaSoft 2015-04-19