How to use "Date Picker" to read a specific row and a column from a csv file that are associated with the date that was selected?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Steven Shaaya
el 9 de Mzo. de 2022
Comentada: KSSV
el 9 de Mzo. de 2022
How to use "Date Picker" to read a specific row and a column from a csv file that are associated with the date that was selected and display this value on a "Edit Field (Numeric)".
The Date Picker format is mm/dd/yyyy
For example, if a user select 01/27/2022 than I want to search for which row on the first column has a date that match the selected date once this row is founded then I want to display the value that is on the same row but on the second column into the "Edit Field (Numeric)".
I know that I must have a function to search for the matching date but I am not sure where to start from.
0 comentarios
Respuesta aceptada
KSSV
el 9 de Mzo. de 2022
You can load the csv file data into MATLAB workspace using readtable.
And then you can use ismember to get the index of the required date.
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!