Import data from CSV file and display it
Ältere Kommentare anzeigen
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 Kommentare
Kevin Chng
am 24 Okt. 2018
Now you should like for app designer to design the apps.
Igor Veljovic
am 24 Okt. 2018
Kevin Chng
am 25 Okt. 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.
Antworten (0)
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!