%% Put the value(s) to return between the []. function [a b] = doSomething(argument) a = 0 b = 2 end % The a & b in [a b] will automatically pull their value % from wihtin the function
%% Put the value(s) to return between the []. function [a b] = doSomething(argument) a = 0 b = 2 end % The a & b in [a b] will automatically pull their value % from wihtin the function