Saving a file created (.wav , txt ... ) to another folder in the current directory

1 view (last 30 days)
Hi, I wanted to ask to see if someone could help me, about how I could save a .wav file for instance created in a specific directory folder , ie is saved in the folder I want. Thanks in advanced!

Accepted Answer

Star Strider
Star Strider on 6 Jul 2016
There are several ways to build file names that include the directory you want to save your file in. The easiest option is to use the fullfile function to create it. Then use the appropriate function (for instance audiowrite for the .wav file) to save it.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!