Names of variables?
Ältere Kommentare anzeigen
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 Kommentare
Image Analyst
am 26 Okt. 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
am 26 Okt. 2018
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Whos finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!