Covering some basic topics I haven't seen elsewhere on Cody.
Return as a string the name of the input variable to the function (as named in the parent workspace)
Example:
if the function was called as such: my_variable=[]; y=inputvariable(my_variable);
y would equal 'my_variable'.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers390
Suggested Problems
-
2347 Solvers
-
Back to basics 19 - character types
275 Solvers
-
Back to basics 23 - Triangular matrix
1135 Solvers
-
Flip the main diagonal of a matrix
914 Solvers
-
Who has power to do everything in this world?
488 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I never knew this was possible. Thanks for introducing the topic.