path = 'C:\\'; %設定絕對路徑
%read txt
cwbdata = load(strcat(path, 'cwb_466920_2006.txt'));
%read CSV
cwbdata = csvread(strcat(path, 'cwb_466920_2006.csv'),2,0);
% Matlab 7.0以後才有的功能
%read excel
cwbdata = xlsread(strcat(path, 'cwb_466920_2006.xls'));