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

2 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)

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"

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!