How can I specify the file path for csvwrite to write a file to?

24 vues (au cours des 30 derniers jours)
T4H14
T4H14 le 16 Juil 2018
Réponse apportée : Paolo le 16 Juil 2018
How can I specify the file path for csvwrite to write a file to?

Réponse acceptée

Paolo
Paolo le 16 Juil 2018
csvwrite('C:\Users\T4H14\Documents\myfile.csv',mydata)

Plus de réponses (1)

Piotr Balik
Piotr Balik le 16 Juil 2018
You can always use hard way and do:
>> cd C:/'Program Files'/...
>> csvwrite('file.dat',M);
Because csvwrite documentation does not provide data path parameter.

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by