Files
linguist/samples/matlab/matlab_function.m
2012-06-22 10:09:24 -05:00

10 lines
190 B
Matlab

function ret = matlab_function(A,B)
% Simple function adding two values and displaying the return value
ret = A+B;
% Display the return value
disp('Return value in function');
disp(ret);