How to write a string to Excel using Matlab.

I want to write a file name including filepath to an excel file. I am using this code.
path2=['P:\\_Fach\\EF\\UX\\DL\\' py_file];
xlswrite(filename,path2,'Parametertabel','t60:t60');
This code is just writing 'P' to the excel file.

3 件のコメント

Kevin Chng
Kevin Chng 2018 年 9 月 6 日
Put them into cell.
path = {'wewer'};
xlswrite('sss.csv',path);
If this is answer you are looking for, then i will put it in the answer for you to accept it.
sachin k p
sachin k p 2018 年 9 月 6 日
This works. Thank you very much.
Kevin Chng
Kevin Chng 2018 年 9 月 7 日
Do you mind to accept my answer? Thanks

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

 採用された回答

Kevin Chng
Kevin Chng 2018 年 9 月 7 日

0 投票

Put them into cell.
path = {'wewer'};
xlswrite('sss.csv',path);

その他の回答 (0 件)

カテゴリ

ヘルプ センター および 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