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 1937. Get input and output variable names

Created by Sky Sartorius

Given a string representing a function header, return the variable names used for the inputs and outputs.

For example if input string s is 'function [A,B] = myfun(c,d,f)', the input names are {'c';'d';'f'} and the output names are {'A';'B'};

Tags

Problem Group

Solution Statistics

12 correct solutions 21 incorrect solutions
Last solution submitted on Jul 22, 2014