Importing a text file in App Designer

16 ビュー (過去 30 日間)
cletus blum
cletus blum 2017 年 7 月 13 日
回答済み: Amit Doshi 2017 年 7 月 17 日
I am creating an graphical user interface using app designer that calls a function file. The function file calls on text files for input parameters. I would like to be able to load those input text files from the GUI. Currently the GUI will run the function file if I add the input text files to my current folder where my .mlapp file is but I can't change those files from the GUI its self. Eventually i would like to compile the GUI and would need to be able to load/change those text files. Is this possible?

採用された回答

Amit Doshi
Amit Doshi 2017 年 7 月 17 日
Hello Cletus,
You can use the 'uigetfile' function in MATLAB to open a file selection dialog box GUI to select the file from there and then read the file. Refer the below link:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by