MATLAB: I am getting eval flag error when i execute matlab -eval “perf = ten_fold_validation(’sub’, -1)” Deep Learning Toolboxnnet my error matlab: 1: eval: Syntax error: "(" unexpected the first line of my code is function err = ten_fold_validation(feature_type, num_data_points) Best Answer "-eval" is not a valid command line flag for MATLAB. The closest corresponding command line flag is '-r" Related SolutionsMATLAB: How to train a feedfordward neural network with error weights Use the command window help mse doc mseHope this helps.Thank you for formally accepting my answerGreg MATLAB: 5 fold cross validation for ANN in matlab Search NEWSGOUP and ANSWERS with greg crossvalidation greg cross-validation greg cross validationHope this helps.Thank you for formally acceptingmy answerGreg Related QuestionUse of evalDo I get a error message “Conversion to struct from double is not possible. ” when I run patternnet functionEval with multiple lines
Best Answer