Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 1937. Get input and output variable names

Created by Sky Sartorius

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

Tags

Problem Group

Solution Statistics

14 correct solutions 22 incorrect solutions
Last solution submitted on Dec 26, 2014