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 Solvers18
Suggested Problems
-
Remove all the words that end with "ain"
2703 Solvers
-
How to find the position of an element in a vector without using the find function
2819 Solvers
-
Project Euler: Problem 10, Sum of Primes
2123 Solvers
-
115 Solvers
-
Generate a random matrix A of (1,-1)
430 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