Info

この質問は閉じられています。 編集または回答するには再度開いてください。

saving a variable from workspace for every iteration

1 回表示 (過去 30 日間)
Ahmed Almashharawi
Ahmed Almashharawi 2019 年 12 月 15 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Ahmed Almashharawi
Ahmed Almashharawi 2019 年 12 月 15 日
Hi Walter,
Thanks for your comment. can you please explain to me exactly how it works? somehow I get a mistake and I can't get it done.
Thanks again.
Walter Roberson
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!

Translated by