Question


How to do math using datetime objects including years
I want to compute the number of days, minutes and seconds since January 1st, 2000 (Julian days) up to a specific date such as Ju...

3 years ago | 3 answers | 0

3

answers

Question


How to initialize a table column to a character array?
I have a table "filetext" which is 19343x46. I want to append a colum on the right containing the character array 'MET'. In othe...

3 years ago | 1 answer | 0

1

answer

Answered
GUI loses state when destroyed and recreated
Found the solution. Change the GUI callback function to read as follows: function GUIButtonGroupSelectionChanged(app, event) % ...

3 years ago | 0

Question


GUI loses state when destroyed and recreated
This USED to work several days ago, but somehow I broke it. I have a GUI which I created in App Designer. The GUI is called fro...

3 years ago | 1 answer | 0

1

answer

Question


How to convert datetime to datestr including day of year
I can convert a date string to a datetime object using datetime(), and convert that object back to a string using datestr(). How...

3 years ago | 1 answer | 0

1

answer

Question


How do I add a draw rectangle function to an image app?
I used App Designer to create a frame containing an image. Now I want to draw a rectangle inside that image. None of the example...

3 years ago | 1 answer | 0

1

answer

Answered
How do I use uiopen in a class method?
Solution found: I needed a callback function.

3 years ago | 0

| accepted

Question


How do I use uiopen in a class method?
I am new to Matlab, and trying to build a GUI. In App Designer, I dragged a Menubar to the window and copied the class definitio...

3 years ago | 1 answer | 0

1

answer