Build executable app that reads data from a file and displays it graphically

1 回表示 (過去 30 日間)
Karston Christensen
Karston Christensen 2019 年 7 月 24 日
回答済み: awezmm 2019 年 7 月 25 日
I have written the script that reads data from a datafile and displays it graphically. I have also included multiple interactive elements using the uicontrol toolbox. However, the whole program was built programmatically and I am trying to figure out how I should package it as an executable. When I use deploytool and opt to built a package with the Matlab runtime compiler, I am given the option to include necessary files. I would like my app to display data from any arbitrary datafile I provide it (datafile will always be formatted in the same way and have the same file extension). Should I attempt to port my programmatically built GUI to App Designer? Or is there a way to package my app using the Matlab Runtime Compiler such that it is standalone and can also read from new datafiles?

採用された回答

awezmm
awezmm 2019 年 7 月 25 日
You can use uigetfile to have a file selection dialog box open for the user to select a file, using GUI.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by