Feeds
已回答
How to "extract" a variable name to a string ?
Try the following: myvar = 1; get_myvar_name = @(x) inputname(1); get_myvar_name(myvar)
How to "extract" a variable name to a string ?
Try the following: myvar = 1; get_myvar_name = @(x) inputname(1); get_myvar_name(myvar)
2 years 前 | 1