Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function test()
- disp(mfilename);
- [ST I]=dbstack;
- disp(ST(1).name);
- test2();
- end
- function test2()
- [ST I]=dbstack;
- disp(ST(1).name);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement