フィルターのクリア

Creating New variables each loop.

5 ビュー (過去 30 日間)
ck
ck 2016 年 6 月 24 日
回答済み: Walter Roberson 2016 年 6 月 24 日
I have a program where each time the loop runs a column of readings are acquired. I want to create a label for each column separately , by the name of the column which is read while executing the loop. So I want to basically open a variable with that column name.
For example if the current column name is "star_gh" , I want to open a variable with name -->star_gh and save the columns values in that. Would using the function 'genvarname()' help?? If possible can I get a example or a function?
Thanks!

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 6 月 24 日

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by