saving a variable from workspace for every iteration
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Hello everyone,
i wrote a matlab code and i want to save the result (Table) for each iteration (ii). How can i do it?!
T = table(ii,tau(i),k(i,ii),delta(ii),MP(ii),tr(ii),ss_y(ii),Max_val_uk(ii),Sat_time(ii),ss_uk(ii));
T.Properties.VariableNames = {'Nr','tau','k','delta','Overshoot','RiseTime','StateSpaceY','MaxValu','SaturationTime','StateSpace_uk'}
Tnew = [Tnew;T]
Thanks in advance
Ahmed
3 个评论
Walter Roberson
2019-12-15
Cell array of tables.
Ahmed Almashharawi
2019-12-15
Walter Roberson
2019-12-15
all_tables{K} = Tnew;
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!