When I try to run my scirpt I get an erorr saying xlsColNum2str is unrecognized but there are not spelling errors and this is a build in function. Any suggetions to the problem??
Others have ran the same exact code with no issue
%% read digital serial port and mA data
e = actxserver ('Excel.Application');
filename = fullfile(pwd,fname{data_select});
ewb = e.Workbooks.Open(filename);
esh = ewb.ActiveSheet; %#ok<*NASGU>
sheetObj = e.Worksheets.get('Item', wsname{data_select});
num_cols = sheetObj.UsedRange.Columns.Count;
endcolChar = xlsColNum2Str(num_cols);
Best Answer