I have tried this code as like
require_once dirname(__FILE__) . '/../../vendor/PHPExcel/Classes/PHPExcel.php';
$objPHPExcel = new PHPExcel();
$objPHPExcel->setActiveSheetIndex()->setCellValue('A1', 'Hello world!');
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');
$this->response->body( $objWriter->save('php://output'));
$this->response->send_file(TRUE, '01simple.xls');
exit;