%

% Copyright 2017 The MathWorks, Inc.
function throwMissingDataError(signal, cellLoc)
    sheet = signal.getElement.getTimeSection.getSource.getSimulation.getRange.getSheet;
    spreadsheet = sheet.getSpreadsheet;
    error(message('sl_xls:ReadTable:MissingDataError', ...
        cellLoc, sheet.Name, spreadsheet.Filename));
end
