MATLAB Answers

How to write a string to Excel using Matlab.

111 views (last 30 days)
sachin k p
sachin k p on 6 Sep 2018
Commented: Kevin Chng on 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 Comments

Kevin Chng
Kevin Chng on 6 Sep 2018
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.
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'};
xlswrite('sss.csv',path);

  0 Comments

Sign in to comment.

More Answers (0)

Tags