i'm writing an app to read data from excel file and plot the data with matlab app designer, is there any example i can refer to

21 views (last 30 days)
i need to create a gui where the user can select an excel file with selected path and create plots, the excel file have only data for the y axis while string for the x axis. I also need to provide with an dropdown menu to let user choose which type of graph to plot for example line graph or scatter plot. is there any example cases that i can refer to? i do provide an example of data excel file. thanks alot.

Accepted Answer

Abhisek Pradhan
Abhisek Pradhan on 2 Apr 2020
Edited: Abhisek Pradhan on 2 Apr 2020
Relevant links which may be helpful in creating an app having functionalities of reading files and plotting them.
  1. Opening file selection dialogue box - https://in.mathworks.com/help/matlab/ref/uigetfile.html
  2. Creating GUI plots using UIAxes - https://in.mathworks.com/help/matlab/ref/uiaxes.html?searchHighlight=UIAxes&s_tid=doc_srchtitle
The following link has a complete guide to develop Apps using App Designer.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!