MATLAB: How to write a function called thestaff that takes one matrix input argument S, S is a n-by-m matrix from an excel file I have saved. Also the function doesn’t return anything

function

Here's what I have filename = 'Salaries.xlsx';
FR = xlsread('Salaries.xlsx');

Best Answer

function mystaff(S)
end
This takes S as input argument and doesn't return anything.