How to export data from matlab to excel
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
Hi all. I want to display/export data from matlab to excel, but i dont know how to make it. Can someone help me ? thanks before.
採用された回答
Azzi Abdelmalek
2013 年 6 月 3 日
編集済み: Azzi Abdelmalek
2013 年 6 月 3 日
Example
A=magic(5)
xlswrite('filename.xls',A)
Look at
doc xlswrite
doc xlsread
9 件のコメント
Lidank Abiel
2013 年 6 月 3 日
編集済み: Azzi Abdelmalek
2013 年 6 月 3 日
i've using xlswrite..
nilaieuc=[eucmtkaki; eucmtkamu; eucmtkimu; eucmtkahi; eucmtkihi];
s = xlswrite('dataimg',nilaieuc);
that my code that the result is start from A1 to A5. how to add data to next column ? ( i mean B1 :B5, C1:C5, etc ).
thx before sir.
Azzi Abdelmalek
2013 年 6 月 3 日
編集済み: Azzi Abdelmalek
2013 年 6 月 3 日
a=[1;2;3;4;5];
xlswrite('fil21.xls',a);
b=[10;20;30;40;50];
xlswrite('filname.xls',b,'B1:B5','append');
Lidank Abiel
2013 年 6 月 3 日
may i know, for what append is used ?
Azzi Abdelmalek
2013 年 6 月 3 日
Normally append allows to do not erase the previous data;
Lidank Abiel
2013 年 6 月 3 日
so, when I want to store the second data, the first data is not erased? and it will automatically be saved to the next column (B1: B5, C1: C5), is it?
I'm new in using matlab
thanks in advance
Azzi Abdelmalek
2013 年 6 月 3 日
No, you have to specify the range
Bheki Ngobe
2016 年 1 月 22 日
I tried xlswrite, but each character is printed in its own cell, it does not print it to a single cell iin xlsx.
Shivam Mishra
2022 年 12 月 26 日
May I know how to make some text bold or change font size while exporting from MATLAB to Excel.
Voss
2022 年 12 月 28 日
@Shivam Mishra: Search this forum for "ActiveX Excel" and you will find some examples.
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
製品
タグ
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
