mwArray constructor gives number of rows in the first parameter and number of columns in the second parameter. You should use:
mwArray matlabArr(1 , 14, c_arr_a);
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!