MATLAB: Export to Excel

excelelexportfopenfprintfsheet

Hello! I would like to ask you if it is possible to choose the sheet in which exporting the calculated data to Excel.
I have used fopen and fprintf.
I want to create two "tables" in two different sheets, but fopen creates the file without making me chose the sheet (curiosly the given sheet have the same file's name)
fid=fopen (filename,w)
fprintf(fid, etc)
and for the second results table
fprintf(fid,etc)
the results are just given in the same sheet, one below the other… instead of that, I would like to put the second table in the second sheet of the same file…
PS I would like to find out if it is possible with those functions before writing again with xlswrite!
Thanks in advance to whom will help me!!
Cheers

Best Answer

>> doc xlswrite