exporting to excel from matlab
3 次查看(过去 30 天)
显示 更早的评论
Hi, i have a few results from my code which i want to export to excel....
bs_co = final_m_co / work_hp_hr
bs_co2 = final_m_co2 / work_hp_hr
bs_thc = final_m_thc / work_hp_hr
bs_no = final_m_no / work_hp_hr
bs_no2 = final_m_no2 / work_hp_hr
bs_nox = final_m_nox / work_hp_hr
bs_nmhc = final_m_nmhc / work_hp_hr
bs_ch4 = final_m_ch4 / work_hp_hr
I have a few equations like those......I want the results from the equations to be exported to excel and if possible with names like "bs_co = ".
0 个评论
采纳的回答
Walter Roberson
2016-4-28
Put the values in a cell array that has the header strings in its first row, and then use xlswrite()
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!