MATLAB: How to save a file .wav with any name in any folder by using GUI buttonguisavewav Hi, I am trying to save a file .wav with any name in any folder by using a save button in GUI. Best Answer [file,path] = uiputfile('*.wav', 'Save Wav File'); if isnumeric(file) return; %user canceled end filename = fullfile(path, file); audiowrite(filename, myGui.datasound, myGui.freqSam); Related SolutionsMATLAB: Any suggestions to this fix You ‘overshadowed’ the audioread function.The solution is to rename your .m file to something different. MATLAB: Saving a file in a particular folder with wavwrite tmp = fullfile(pathname,filename); wavwrite(...,tmp) Related QuestionHow to save a file .wav with any name in any folderHow to select a .m file through browser push button option in GUI and add/save that file in the current Matlab working directory ? Any guidance is appreciated.TIAAny tool for automate GUI testing
Best Answer