Reputation: 3405
I am trying to tranlate Matlab code in Octave. I am looking for Date Timer picker. I am affraid that there is no such utility in Octave. If so, is there any alternate for this Matlab command in Octave.
uicalendar();
Using Octave: error: 'uigetdate' undefined
Do I need some package etc. Any solution?
Upvotes: 0
Views: 250
Reputation: 13091
The function uigetdate
does not exist in Octave core. It also does not exist in Matlab so I don't know where you got it from.
However, there is a function to pick a date from a calendar in the Octave zenity package. The zenity package is unmaintained but seems to still works fine.
octave> pkg load zenity
octave> date = zenity_calendar ()
date = 13-Nov-2017
Which will look like this on my system (Gnome 3):
The Octave zenity package is a wrapper to the zenity program so you will need to have it installed in your system.
Upvotes: 2