How to write a string to Excel using Matlab.

8 Ansichten (letzte 30 Tage)
sachin k p
sachin k p am 6 Sep. 2018
Kommentiert: Kevin Chng am 7 Sep. 2018
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 Kommentare
sachin k p
sachin k p am 6 Sep. 2018
This works. Thank you very much.
Kevin Chng
Kevin Chng am 7 Sep. 2018
Do you mind to accept my answer? Thanks

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Kevin Chng
Kevin Chng am 7 Sep. 2018
Put them into cell.
path = {'wewer'};
xlswrite('sss.csv',path);

Weitere Antworten (0)

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by