How can I acquire the calling function in an object?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Zoltán Csáti
am 4 Jan. 2015
Kommentiert: Zoltán Csáti
am 5 Jan. 2015
Hello everyone,
I have a class that has several methods. How can I access the name of a specific method (function) in another method? For example, let's assume that I have 3 method functions: fun1, fun2 and fun3. In fun1 and in fun2 I call fun3. In fun3 I want to know by which function it was invoked: fun1 or fun2? How can I achieve it?
Thank you.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Software Development Tools finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!