importOrigin
This function can be used to import paired columns of (x,y)-data from an Origin project file (OriginLab Corp.) directly into MATLAB.
importOrigin, by itself, opens a file selection dialog for specifying the Origin project file to be imported. The function identifies x-y pairs of column data in the specified Origin project and opens a modal data selection dialog for selecting a subset of data sets to import. If no output arguments are specified the imported data will be created as new variables in the MATLAB workspace.
DATA = importOrigin(...); returns the imported data in a structure DATA.
importOrigin uses MATLAB's actxserver to create an Origin COM Automation Server. This means that Origin must be installed on the target computer. More information can be found here:
http://www.fluortools.com/misc/fun-with-matlab/origin
Cite As
Soren Preus (2025). importOrigin (https://www.mathworks.com/matlabcentral/fileexchange/43116-importorigin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.5.0.0 | Bug fix when running function without output arguments. |
||
1.4.0.0 | - Possible to import data into the MATLAB workspace (base).
|
||
1.3.0.0 | Updated the description |
||
1.2.0.0 | Fixed importing worksheets containing NaN and empty columns. |
||
1.1.0.0 | Updated links in description. |
||
1.0.0.0 |