csv - Assigning multiple variables in matlab from one matrix -
i need write csv have more 1 output not know how either or assign each number separate variable , have print in list csv file. x=rand(10); rows=[1:10]; cols=[1:10] j=x(rows,cols) end end csvwrite('weikle_list1.csv',j); y=csvread('weikle_list1.csv') cols=[1:10] rows=[1:10] k=x(cols,rows) end end csvwrite('weikle_list2.csv',k); w=csvread('weikle_list2.csv') formatspec='k=%1.4f'; fprintf(formatspec,x);