I want to create 15 txt tables with different names by using tblwrite in matlab. my attempt was in this code I want to create 15 txt tables with different names by using tblwrite in matlab. my attempt was in this code
for j=1:15 rownames=char(rownames1(:,j)); T(:,1)=[1:length(K_minus_t)]; table=char(T(j,1)); colnames{j}={'lambda_L';'C_L';'lambda_N';'tau_N';'lambda_c';'tau_c';}; values{j}=[coef_line lam_tau_curve lam_tau_cap]; tblwrite(values{j},colnames{j},rownames,'table.txt'); end unfortunately, it was failed. Any help would be greatly appreciated. I will be grateful to you.
Best Answer