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

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 31 de Oct. de 2013
Editada: Azzi Abdelmalek el 31 de Oct. de 2013

0 votos

s=whos('HCE*')
out={s.name}

1 comentario

Azzi Abdelmalek
Azzi Abdelmalek el 31 de Oct. de 2013
Editada: Azzi Abdelmalek el 31 de Oct. de 2013
[Meli commented]
Excellent!
Thanks!
Meli

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Export to MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 31 de Oct. de 2013

Editada:

el 31 de Oct. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by