Problem 1937. Get input and output variable names

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

35.9% Correct | 64.1% Incorrect
Last solution submitted on Oct 19, 2019

Problem Recent Solvers10

Suggested Problems

More from this Author4

Problem Tags