Cody

Problem 357. Back to basics 13 - Input variables

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

41.16% Correct | 58.84% Incorrect
Last solution submitted on Dec 04, 2016

Problem Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more