View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
importOrigin

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

2.0
2.0 | 2 ratings Rate this file 10 Downloads (last 30 days) File Size: 12.3 KB File ID: #43116 Version: 1.5
image thumbnail

importOrigin

by

 

19 Aug 2013 (Updated )

Import (x,y)-data from Origin project (OriginLab Corp.) directly into MATLAB.

| Watch this File

File Information
Description

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

Required Products MATLAB
MATLAB release MATLAB 8.2 (R2013b)
Other requirements Origin (OriginLab Corp.)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
05 Sep 2015 M W

M W (view profile)

not working with OriginLab 2015 :(

15 Aug 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

Comment only
28 Apr 2015 paul antony

veryuseful

Updates
20 Aug 2013 1.1

Updated links in description.

27 Aug 2013 1.2

Fixed importing worksheets containing NaN and empty columns.

09 Sep 2013 1.3

Updated the description

13 Sep 2013 1.4

- Possible to import data into the MATLAB workspace (base).
- Implemented MATLAB's own listdlg for the data selection, instead of using inputsdlg from the File Exchange.
- New default for opening a data selection dialog.

25 Jul 2014 1.5

Bug fix when running function without output arguments.

Contact us