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.

table2markdown.m 513 B

1234567891011121314151617181920212223242526
  1. function out = table2markdown(tab)
  2. if ~istable(tab)
  3. error('Input needs to be a table')
  4. end
  5. head = tab.Properties.VariableNames;
  6. if isempty(tab.Properties.RowNames)
  7. out{1} = sprintf('%s |', sprintf('| %s ',head{:}));
  8. else
  9. out{1} = sprintf('%s |', sprintf('| %s ',head{:}));
  10. end
  11. out{2} = repmat('-',1,20);
  12. col_type = cell(1,width(tab));
  13. for hx = 1:height(tab)
  14. for cx = 1:width(tab)
  15. if hx == 1
  16. col_type{cx} = class(tab{hx,cx});
  17. end
  18. switch col_type{cx}
  19. case '
  20. end