loop over variable with different characters
古いコメントを表示
Hi,
I wonder if someone cna help me with my problem and that is if I have lets say 4 variables in my workspace with different
characters in the begnning end ends with the same words, for example:
abcd_hpcd_Df
defg_hpcd_Df
hijk_hpcd_Df
lmno_hpcd_Df
I want to write it in matlab in a easier way, just write hpcd_Df and not the characters in the beginning.
5 件のコメント
KSSV
2022 年 9 月 29 日
Don't name the variables like that. Use the convention you want.
Serhat Unal
2022 年 9 月 29 日
編集済み: Serhat Unal
2022 年 9 月 29 日
Walter Roberson
2022 年 9 月 29 日
What do you want to do with the variables?
Serhat Unal
2022 年 9 月 29 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Workspace Variables and MAT Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!