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

KL
KL 2017년 4월 24일
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일

0 개 추천

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.

카테고리

태그

질문:

2017년 4월 24일

답변:

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