How to write a string to Excel using Matlab.

114 views (last 30 days)
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];
This code is just writing 'P' to the excel file.
Kevin Chng
Kevin Chng on 7 Sep 2018
Do you mind to accept my answer? Thanks

Sign in to comment.

Accepted Answer

Kevin Chng
Kevin Chng on 7 Sep 2018
Put them into cell.
path = {'wewer'};

More Answers (0)


Find more on Data Import from MATLAB in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!