Is there a way to store each group iteration of hgiu (line 208) in workspace?

1 回表示 (過去 30 日間)
Austin Sowers
Austin Sowers 2018 年 9 月 14 日
コメント済み: Stephen23 2018 年 9 月 14 日
hgiu iterates in groups of 2000 times. I would like to store each group. I think there may be nine groups of 2000 data points. I have been trying to figure this out for awhile and help will be appreciated!
I have attached my code along with "nodes.txt" and "pipes.txt" which are needed to run it. I am new to Matlab and am using this for engineering purposes.
  4 件のコメント
Austin Sowers
Austin Sowers 2018 年 9 月 14 日
I would like to save the "hgiu" variable. On line 208. To fix the red lines would only speed up the program correct? I don't mind the speed of the program currently and I am mostly concerned with the hgiu output. Thanks for your feedback!
Stephen23
Stephen23 2018 年 9 月 14 日
@Austin Sowers: what you have not told us anywhere is for which loop is the one that you want to store that variable? Your code has multiple loops, and it is not immediately obvious which of them would be of interest to you, or which one might have 7/9 iterations (depending on your explanation).
Once you explain exactly which loop then we can help you.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by