|
From: | Søren Hauberg |
Subject: | who called me? |
Date: | Wed, 22 Oct 2008 16:46:26 +0200 |
Hi, Assuming I have a function 'f1', how can I get the name of whatever function called 'f1'? I've tried to do this with a combination of 'evalin' and 'mfilename': function f1 () who_called_me = evalin ('caller', 'mfilename ()') end but that just gives me the name of 'f1'. Søren
[Prev in Thread] | Current Thread | [Next in Thread] |