MATLAB: How can modify file name that imported by uigetfile.
filename
i want to load some file by uigetfile.
then how can i use uigetfile data when i want to export file, for example
input file name : abc.csv
——-processing——-
output file name : abc_modified.csv
(for export, i use writetable.)
Best Answer
Note that if it's for saving/exporting, you should use uiputfile instead of uigetfile.
Regardless, all these functions do is return you a char vector with the name of the selected file. You're free to do whatever you want with that variable, just like any other variable.
You just need to specify the full path of the folder you want to delete tormdir. If you supply just the folder name, it assumes that folder is in the current directory. You can usefullfile to build the full path of the folder:
Best Answer