Clear Filters
Clear Filters

How to show the contents of a folder in app designer and plot the files in it ?

5 views (last 30 days)
Hi All
my code generates some excel files as output in a certain folder. which are a 2 column data. I was wondering if there is any way to show the content of this folder in a box as a list that dynamically updates as the code proceeds, or even just using a button that can update this box. then by hovering over each file name and selecting it from the box, I could plot it in a UIfigure plot in the app window. is this possible ?

Accepted Answer

Ameer Hamza
Ameer Hamza on 26 Mar 2020
See the attached app. It will list all the .xlsx file in the current folder and if it only has two columns, then plot it on the axes.
  17 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!