Wild cards for variable names
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Meli
el 31 de Oct. de 2013
Editada: Azzi Abdelmalek
el 31 de Oct. de 2013
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 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 31 de Oct. de 2013
Editada: Azzi Abdelmalek
el 31 de Oct. de 2013
s=whos('HCE*')
out={s.name}
1 comentario
Azzi Abdelmalek
el 31 de Oct. de 2013
Editada: Azzi Abdelmalek
el 31 de Oct. de 2013
[Meli commented]
Excellent!
Thanks!
Meli
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!