How can I select a .m file through browser push button option in GUI and add/save that file in my current Matlab working directory ? Any guidance is appreciated.TIA
1 view (last 30 days)
Show older comments
vigneshwaran ravindran
on 27 May 2015
Commented: vigneshwaran ravindran
on 27 May 2015
Need to add a .m file to the current working directory by selecting through the browse push button and add that file to the current working directory
0 Comments
Accepted Answer
Nobel Mondal
on 27 May 2015
[file,path] = uigetfile('*.m','Choose file to save');
copyfile([path file], pwd)
More Answers (0)
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!