Cody

Problem 1937. Get input and output variable names

Created by Sky Sartorius in Community

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'};

Solution Stats

38.89% Correct | 61.11% Incorrect
Last solution submitted on Dec 26, 2014