octave.put("num_inputs", num_in);
octave.put("num_outputs", num_out);
octave.put("asc_id", asc_id);
int rows=inside_dataset.length;
int columns=inside_dataset[1].length;
OctaveMatrix arr=new OctaveMatrix(rows,columns);
int octave_array_index_offset_r,octave_array_index_offset_c;
// Pass java array to octave
for (int r=1; r<=rows; r++) {
for (int c=1; c<=columns; c++) {
arr.set(inside_dataset[r-1][c-1], r, c);
}
}
octave.put("arr", arr);
//End of Passing of array to octave workspace