T O P I C R E V I E W |
teresagp |
Posted - 01/15/2010 : 09:16:26 AM 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
|
2 L A T E S T R E P L I E S (Newest First) |
teresagp |
Posted - 01/15/2010 : 10:31:29 AM 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 |
easwar |
Posted - 01/15/2010 : 09:54:56 AM 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
|
|
|