1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2011 - DIGITEO - Cedric Delamarre
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 //==============================================================================
10 //==============================================================================
12 // <-- BENCH NB RUN : 10 -->
17 string_to_parse = strsubst(emptystr(NB_LINES,1)+'A', 'A', strcat(string(1:NB_VARS)," "));
19 format_to_parse = "" + strcat(strsubst(strcat(string(ones(1,NB_VARS)), " "), "1", "%s")) + "";
21 //line_to_exec = "[ N," + strcat("v"+string(1:NB_VARS), ",") + "] = msscanf(-1, string_to_parse , format_to_parse );";
22 line_to_exec = "res = msscanf(-1, string_to_parse , format_to_parse );";
24 // <-- BENCH START -->