m-function to generate COE files for Xilinx ISE FPGA synthesis tool with Matlab