writetable function doesn't produce any output

The code:
writetable(t3,'C:\Users\w)
is not producing any output. Any reason for that? (I am attaching the file that contains the t3 table)

2 个评论

There should be a txt file named w under folder C:\Users. There seems nothing wrong with the command. Which Matlab version are you using?
I solved the problem. I added \Data.xlsx and it produced the excel file. I am using 2016b

请先登录,再进行评论。

回答(1 个)

Jan
Jan 2017-4-24
You do not have write permissions directly in C:\Users\, except if you work with admin privileges. If you do so: note that this is a bad idea.

标签

回答:

Jan
2017-4-24

Community Treasure Hunt

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

Start Hunting!

Translated by