From: Albert on 20 May 2010 09:11 hello everybody. I am trying to write some data to an excel file using the xlswrite() function from matlab, but I can't... I want to print on the first row set of headers, to identify each column, and then below each header to write data from some vertical vectors... here is the code I have.. d = {'AC PR','a','b','d','PVUSA AC POWER','DC PR','a','b','d','PVUSA DC POWER'; pr_ac_output a_ac_output b_ac_output d_ac_output pvusa_ac_output pr_dc_output a_dc_output b_dc_output d_dc_output pvusa_dc_output}; xlswrite(output_name,d,'Data Calculated','B1'); The headers are 'AC PR', 'a'... etc... and then the vertical vectors are pr_ac_output, etc... there is actual data being written to the vectors because I already tested that, but when I try to write the excel file only the headers are written and no data from the vectors is... Any help please? Thanks!
|
Pages: 1 Prev: inverse cross product Next: GUI slider for displaying images |