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

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

 採用された回答

[file,path] = uigetfile('*.m','Choose file to save');
copyfile([path file], pwd)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Import and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by