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
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers17
Suggested Problems
-
Find relatively common elements in matrix rows
2151 Solvers
-
2009 Solvers
-
Find the maximum number of decimal places in a set of numbers
3373 Solvers
-
Given a window, how many subsets of a vector sum positive
870 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
398 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The last test got split into two, and it no longer works.
@Chris, the test suite has been corrected and your answer has been rescored.
Thanks, Dyuman