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

Problem 357. Back to basics 13 - Input variables

Created by Alan Chalker

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'.

Problem Group

Solution Statistics

111 correct solutions 150 incorrect solutions
Last solution submitted on Sep 15, 2014

Problem Comments