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 Comments

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

Sign in to comment.

Answers (1)

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

Tags

Asked:

on 24 Apr 2017

Answered:

Jan
on 24 Apr 2017

Community Treasure Hunt

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

Start Hunting!