Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

IsOctave.m 242 B

123456789101112
  1. %
  2. % Return: true if the environment is Octave.
  3. %
  4. function retval = IsOctave
  5. persistent cacheval; % speeds up repeated calls
  6. if isempty (cacheval)
  7. cacheval = (exist ("OCTAVE_VERSION", "builtin") > 0);
  8. end
  9. retval = cacheval;
  10. end