Import data from CSV file and display it
Show older comments
Hey guys, i'm a beginner at using MATLAB app designer and i wanted some help regarding how to import and read data from a csv file that contains a numeric and datetime values.
The goal is to have an app that can import CSV data, read it and then plot it on a set of axes. And then add some more functionality by being able to select which numeric column values i want to plot against time via a listbox so that i can display mutlitple graphs on the same axes.
I made a simple script that can perform this by using readtable to read the data and then formatting the datetime values appropriately and then plotting the datetime against the numeric values.
Any help would be apprecaited, thank you.
3 Comments
Kevin Chng
on 24 Oct 2018
Now you should like for app designer to design the apps.
Igor Veljovic
on 24 Oct 2018
Kevin Chng
on 25 Oct 2018
Create apps : App Designer(Preferable) , Guide, or programming GUI
Then later you have to think what components you need for you GUI.
For example,
a text input : for user to input which column data
or
a dropdown menu : Ask user to select the name of column data they wanted to plot
Button : Execute the plot
Axes : Host the plot.
for more detail, you have referred to documentation.
Once done your GUI and programming logic, you need MATLAB Compiler compile it to executable file(Installer).
Then you may pass the installer to whoever you want for they to install it in ther pc.
Answers (0)
Categories
Find more on Develop Apps Using App Designer 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!