In Matlab App Designer, I'm building an App which imports a .csv.
The First Column of that imported Table contains Dates in the form yyyy.MM.dd.
The 2nd Column contains Times in the form hh:mm:ss
I've added 4 'Date-Pickers' to the App.
I want 1 to display the 'earliest Date', one the 'earliest Time',
one the 'latest' Date, and the last the 'latest Time'.
And I'm having trouble making that Happen.
So basically have one read the 1st Row of the Date Column, one the last Row of the Date Column,
one the 1st Row of the Time Column, one the last Row of the Time Column.
(Unless Matlab/ App Designer has a built in function to read the earliest/latest date/time automatically without having to refer to specific rows/columns)
Is there, too, the capability to add in a failsafe, incase the imported .csv contains no Date-Column, and/or no Time-Column, to still be able to Run the App without it crashing? If there's a Date Column, but no Time-Column, or vice versa, or neither, the corresponding fields are simply left blank and non-interactive or display
"your imported csv does not contain date/time values, Stupid!"
Kind Regards,
Tim
Best Answer