exporting to excel from matlab

3 ビュー (過去 30 日間)
sri satya ravi
sri satya ravi 2016 年 4 月 27 日
編集済み: Stephen23 2016 年 5 月 7 日
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 = ".

採用された回答

Walter Roberson
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()
  2 件のコメント
sri satya ravi
sri satya ravi 2016 年 5 月 7 日
Hi Watler... Thanks for the reply..Can you give me a quick example if possible.
Thanks
Stephen23
Stephen23 2016 年 5 月 7 日
編集済み: Stephen23 2016 年 5 月 7 日
The documentation has lots of examples:
An internet search engine helps you to find the MATLAB documentation.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by