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 comentarios

Kevin Chng
Kevin Chng el 24 de Oct. de 2018
Now you should like for app designer to design the apps.
Igor Veljovic
Igor Veljovic el 24 de Oct. de 2018
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 el 25 de Oct. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.

Productos

Versión

R2018b

Preguntada:

el 24 de Oct. de 2018

Comentada:

el 25 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by