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.

mkdirquiet.m 383 B

1234567891011121314151617
  1. function mkdirquiet(x)
  2. % function mkdirquiet(x)
  3. %
  4. % <x> refers to a directory location
  5. %
  6. % make the directory, suppressing warnings
  7. % (e.g. that the directory already exists).
  8. % assert that the result was successful.
  9. %
  10. % example:
  11. % mkdirquiet('temp');
  12. prev = warning('query'); warning('off');
  13. success = mkdir(x);
  14. warning(prev);
  15. assert(success,sprintf('mkdir of %s failed',x));