writetable function doesn't produce any output

3 views (last 30 days)
wesso Dadoyan
wesso Dadoyan on 24 Apr 2017
Answered: Jan on 24 Apr 2017
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 Comments
KL
KL on 24 Apr 2017
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?
wesso Dadoyan
wesso Dadoyan on 24 Apr 2017
I solved the problem. I added \Data.xlsx and it produced the excel file. I am using 2016b

Sign in to comment.

Answers (1)

Jan
Jan on 24 Apr 2017
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.

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!