File Exchange

image thumbnail

importOrigin

version 1.5.0.0 (12.3 KB) by Soren Preus
Import (x,y)-data from Origin project (OriginLab Corp.) directly into MATLAB.

9 Downloads

Updated 25 Jul 2014

View Version History

View License

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 (2020). importOrigin (https://www.mathworks.com/matlabcentral/fileexchange/43116-importorigin), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Pietro Di Modica

Would it work with the OriginLab Viewer, rather than the full Origin program?

M W

not working with OriginLab 2015 :(

Malgorzata Florek

great function, however recently it stopped working and gives an error "Attempt to reference field of non-structure array". I guess it the problems started after upgrading to originlab 2015 as it is fine on my other pc with originlab 9.1

paul antony

veryuseful

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!