The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 talk to Origin 7 from MATLAB
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

teresagp

Switzerland
Posts

Posted - 01/15/2010 :  09:16:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version: 7 SR4
Matlab Version: Matlab 7.4.0 (R2007a)
OS: Windows Vista Business

I am trying to comunicate with Origin 7 from Matlab using the command:
originObj=actxserver('Origin.ApplicationSI')

(as indicated in the webpage:
http://www.originlab.com/index.aspx?s=8&lm=168&pid=913)

But I just get the following error message in Matlab:
??? Server Creation Failed: The system cannot find the path specified.

Any idea about how to solve this?
Is it possible to communicate from Matlab with Origin 7 (I am perfectly able to communicate with Origin 7.5 and 8, also under Windows Vista, using the same Matlab command). I will expect that I can, because in the comments of 'CreatePlotInOrigin.mat' it says the programme works in Origin 6.1

Thank you for your answers,
Teresa

easwar

USA
1965 Posts

Posted - 01/15/2010 :  09:54:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Teresa,

Origin working as Automation (COM) server was only introduced in 7.5, so connecting to Origin 7 will not work.

If you are referring to the CreatePlotInOrigin.m sample Matlab file we ship since 7.5, in that file the line with 6.1 is:
"% Note: This m-file was tested only in MATLAB 6.1"
which is note from the time it was created, and it refers to Matlab 6.1, not Origin 6.1. Of course with later versions of Matlab and Origin 7.5/8/8.1, you can connect to Origin from Matlab.

Easwar
OriginLab
Go to Top of Page

teresagp

Switzerland
Posts

Posted - 01/15/2010 :  10:31:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Ups, yes, silly misread between Matlab 6.1 and Origin 6.1...

Ok, thanks for clarifying. I didn't know if there was any way around to make it work with Origin 7.
Teresa
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000