public static void outPutBlockToTrack(Track[] t){
		try{
			jxl.Workbook readWorkBook = jxl.Workbook.getWorkbook(new File("Output_File.xls"));   //唯讀的Excel工作薄物件
			jxl.write.WritableWorkbook writeWorkBook = Workbook.createWorkbook(new File("Output_File.xls"), readWorkBook);   //寫入
			jxl.write.WritableSheet writeSheet = writeWorkBook.createSheet("block_to_track_assignment", 1);   //建立一個工作表名字，然後0表示為第一頁		
			
			writeSheet.addCell(new Label(0, 0, "Track"));
			writeSheet.addCell(new Label(1, 0, "Block"));
			writeSheet.addCell(new Label(2, 0, "Day No"));
			writeSheet.addCell(new Label(3, 0, "Starting Time"));
			writeSheet.addCell(new Label(4, 0, "Ending time"));		
			
			for(int i=0 ; i<t.length ; i++){
				for(BlockToTrack bt : t[i].btt){
					writeSheet.addCell(new Label(0, i+1, "C" + (bt.trackNo + 1)));
					writeSheet.addCell(new Label(1, i+1, bt.blockName));
					writeSheet.addCell(new Label(2, i+1, Integer.toString(bt.dayNo)));
					writeSheet.addCell(new Label(3, i+1, changeToFormatTime(bt.startingTime)));
					writeSheet.addCell(new Label(4, i+1, changeToFormatTime(bt.endingTime)));
				}
			}
			
			writeWorkBook.write();
			writeWorkBook.close();
		}
		catch (FileNotFoundException e) {
			e.printStackTrace();
		}catch (IOException e) {
			e.printStackTrace();
		} catch (RowsExceededException e) {
			e.printStackTrace();
		} catch (WriteException e) {
			e.printStackTrace();
		} catch (BiffException e) {
			e.printStackTrace();
		}
		
	}