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

 Accepted Answer

More Answers (1)

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.

Products

Asked:

on 16 Jul 2018

Answered:

on 16 Jul 2018

Community Treasure Hunt

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

Start Hunting!