How to get exact function's argument names?

2 views (last 30 days)
grega
grega on 29 Nov 2017
I created own function myfunc(d.A,d.B) where A and B are vectors in structure d. In the function I'd like to get exact myfunc's argument names, i.e. 'd.A d.B' or 'd.A', 'd.B'. Matlab's builtin inputname function throws '0×0 empty char array'. Any suggestions please?

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!