Names of variables?
Mostrar comentarios más antiguos
Is it possible inside function to know the names of variables, which are used during call of this function? How to pass them inside it?
2 comentarios
Image Analyst
el 26 de Oct. de 2018
Yes, there is a way but it's so arcane that only Walter remembers it so you'll have to wait for him. You can get the names, as a cell array of strings, that were used in the main, calling routine when the function was called, which of course might be different than the names used in the function definition line. I have never needed to know this. Why do you want to know?
Valeriy
el 26 de Oct. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Whos en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!