writetable function doesn't produce any output

5 vues (au cours des 30 derniers jours)
wesso Dadoyan
wesso Dadoyan le 24 Avr 2017
Réponse apportée : Jan le 24 Avr 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 commentaires
KL
KL le 24 Avr 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 le 24 Avr 2017
I solved the problem. I added \Data.xlsx and it produced the excel file. I am using 2016b

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 24 Avr 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.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by