photo

Andrew Tchieu


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

MATLAB Answers

1 Question
0 Answers

RANK
36,240
of 300,853

REPUTATION
1

CONTRIBUTIONS
1 Question
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
1

RANK
 of 21,094

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 171,319

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


How do I use something like 'inputname' to give back name of struct and fieldname supplied?
foo.bar = 1; a = 1; get_names(foo.bar, a) function get_names(x, y) duh = inputname(1); fprintf('inputname = %s\n', duh); ...

4 years ago | 2 answers | 1

2

answers