Wild cards for variable names

10 ビュー (過去 30 日間)
Meli
Meli 2013 年 10 月 31 日
編集済み: Azzi Abdelmalek 2013 年 10 月 31 日
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

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 10 月 31 日
編集済み: Azzi Abdelmalek 2013 年 10 月 31 日
s=whos('HCE*')
out={s.name}
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 10 月 31 日
編集済み: Azzi Abdelmalek 2013 年 10 月 31 日
[Meli commented]
Excellent!
Thanks!
Meli

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by