function [hour] = importLambda(filename) 

    %% Import data from spreadsheet
    % Script for importing data from the following spreadsheet:
    %
    %    Workbook: /home/atizawa/Cost-Analysis-Model/system_lambda.xlsx
    %    Worksheet: Sheet1
    %
    % To extend the code for use with different selected data or a different
    % spreadsheet, generate a function instead of a script.

    % Auto-generated by MATLAB on 2015/06/09 12:47:33

    %% Import the data
    %[~, ~, raw] = xlsread('/home/atizawa/Cost-Analysis-Model/system_lambda.xlsx','Sheet1');
    [~, ~, raw] = xlsread(filename,'Sheet1');
    raw = raw(2:end,8:31);

    %% Create output variable
    hour = reshape([raw{:}],size(raw));

    %% Clear temporary variables
    clear raw
    %% Clear temporary variables
    clearvars data raw dateNums raw0_0 dateNums0_0 raw0_1 dateNums0_1 R;
    fprintf('Imported Cost Values.\n')
end 