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 Kommentare

KL
KL am 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?
I solved the problem. I added \Data.xlsx and it produced the excel file. I am using 2016b

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jan
Jan am 24 Apr. 2017

0 Stimmen

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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 24 Apr. 2017

Beantwortet:

Jan
am 24 Apr. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by