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

972 Solutions

394 Solvers

Last Solution submitted on Jul 08, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers394

Suggested Problems

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!