Import data from CSV file and display it

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

Kevin Chng
Kevin Chng 2018년 10월 24일
Now you should like for app designer to design the apps.
Igor Veljovic
Igor Veljovic 2018년 10월 24일
I just want some help in the right direction in terms of what methods that would be useful and appropriate for what i need to do.
Kevin Chng
Kevin Chng 2018년 10월 25일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2018년 10월 24일

댓글:

2018년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by