How can I create an 'Import button' - that imports excel files - for my GUI using appdesigner?

7 次查看(过去 30 天)
I'm currently working on a gui, wherein one of its features is to have a button that is able to import excel files into the program. I have a push button, and it creates a pop-up menu that stands as a file browser. However, when I run the program and then select a file to open it with, it doesn't work. :( The only working portion of my code for the import button is this:
app.Import.Enable = 'on';
[FileName,PathName] = uigetfile({'*.xlsx'},'File Selector');
I was really hoping someone could help me with this :( Thank you!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by