Wild cards for variable names
10 ビュー (過去 30 日間)
古いコメントを表示
Hi,
i have a series of vectors whose name start with HCE. For example: HCEcool, HCElighting, HCEth.
I would like to add them up without going through the trouble of writing them all out. Is there a wild card that would allow me to do this?
Something like HCE* for example?
Thanks!
Meli
0 件のコメント
採用された回答
Azzi Abdelmalek
2013 年 10 月 31 日
編集済み: Azzi Abdelmalek
2013 年 10 月 31 日
s=whos('HCE*')
out={s.name}
1 件のコメント
Azzi Abdelmalek
2013 年 10 月 31 日
編集済み: Azzi Abdelmalek
2013 年 10 月 31 日
[Meli commented]
Excellent!
Thanks!
Meli
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!