Export to Excel

1 view (last 30 days)
Engineer
Engineer on 19 Jan 2012
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

Accepted Answer

Rick Rosson
Rick Rosson on 19 Jan 2012
>> doc xlswrite

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!