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 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Nobel Mondal
2015-5-27
[file,path] = uigetfile('*.m','Choose file to save');
copyfile([path file], pwd)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!