Build executable app that reads data from a file and displays it graphically
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!