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.0% Correct | 65.0% Incorrect
Last Solution submitted on Mar 11, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers17

Suggested Problems

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!