Skip to content

scSendToOrigin

  scscSendToOriginSendToExcel exports data to an Oigin project

  Example:
  scSendToOrigin(hObject)
  where hObject is the handle of the source axes/uipanel/figure

  For details see 'Examples of using MATLAB as an automation client' in the
  MATLAB help and the OriginLabs example file located at
  ...Origin Root folder.../Samples/Automation Server/MATLAB/CreatePlotInOrigin.m

  All data are exported to Excel from the clicked axes, uipanel or figure.

  If the data from the exported axes include only a single frame, data will
  be exported to a single worksheet. With multiple frames, data from
  each set of axes will be exported to a separate worksheet. All sheets
  will be contained in one Work Book (Book1). Sheet1 is always left empty.

  Origin supports only one open project. If there are unsaved changes in a
  current project you will be prompted to save them.

  -------------------------------------------------------------------------
  Author: Malcolm Lidierth 12/06
  Copyright © The Author & King's College London 2006-
  -------------------------------------------------------------------------