How to import a data from origin into matlab?

I am saving the data of my experiments in origin files. Each origin files has several Books and several sheets. For example, if I want to import (or read) a data from origin file named Data.opj, Book2,sheet5. How can I do this? The data are in general a huge data. So, I think read (like fread or similar) is better than import(like importdata) in matlab right?

6 comentarios

Walter Roberson
Walter Roberson el 5 de Sept. de 2017
Will origin be installed on the machine with MATLAB? It appears that the typical method is to use origin's activex interface to import data
aneps
aneps el 5 de Sept. de 2017
not to import data to Origin. I want to read data from origin file to Matalb. Currently what I am doing is, from the origin file I 'export' as .dat file. Then open in matlab using fopen. My question is, is there any way to read directly to matlab without saving as .dat file.
Walter Roberson
Walter Roberson el 5 de Sept. de 2017
Yes, if you have Origin installed on the same machine and you are using MS Windows, then you can use actxserver() in MATLAB to talk to Origin to have it read the files and make the data available to MATLAB through the ActiveX link.
Someone wrote a routine for that, which is at https://www.mathworks.com/matlabcentral/fileexchange/43116-importorigin but it might need to be adjusted for newer versions of MATLAB.
Image Analyst
Image Analyst el 5 de Sept. de 2017
What export file format options do you have? It might be easier if you exported to a .mat file, or a .xlsx file.
DR RAJVEER SINGH
DR RAJVEER SINGH el 17 de Ag. de 2020
I have origin files and i want to import them to matlab. I was using windows operating system and now i am using mac os. The origin software is not available for mac os. How to import these origin files withut installing origin on mac os.
Walter Roberson
Walter Roberson el 19 de Ag. de 2020
https://sourceforge.net/projects/liborigin/ liborigin is a library that could be build and called from MATLAB . Or you could build it and use the opj2dat executable they provide in order to convert from opj to individual .dat files.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Etiquetas

Preguntada:

el 5 de Sept. de 2017

Comentada:

el 19 de Ag. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by