Is there a way to Identify the calling function within a function?
Mostra commenti meno recenti
Hello!
I would like a generic function that "knows" which function called it (to set certain variables) without having to pass it through varargin or any other argument passed like myfunc(hidden_argument).
A client will get source code for the calling functions, but not for the generic function, which will operate differently for each calling function.
Thanks!
Doug
1 Commento
Douglas Anderson
il 3 Gen 2022
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Scope Variables and Generate Names in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!