MATLAB Answers

I am getting eval flag error when i execute matlab -eval "perf = ten_fold_v​alidation(​'sub', -1)"

6 views (last 30 days)
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)

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 6 Apr 2014
"-eval" is not a valid command line flag for MATLAB. The closest corresponding command line flag is '-r"

  0 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!