[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Does actxserver support multiple return parameters?
From: |
Jesper Holm |
Subject: |
Does actxserver support multiple return parameters? |
Date: |
Mon, 14 Apr 2014 04:55:16 -0700 (PDT) |
Hi,
I'm new to octave so forgive me if I ask some stupid questions. My problem
is this: My company has been using Matlab for many years. We use Matlabs
actxserver to "connect" to an in-house developed COM server. It works well
in Matlab but I'm having troubles when using Octave.
I can call all the simple COM server functions without problems so I know
that the COM server handle is "valid" and that basic interfacing works. My
problems starts when I try to access functions that use "output parameters".
An example:
bool myFunc(out bool dataReady, out string errorMsg);
When called from Matlab I use something like:
[res dataReady errorMsg] = hComServer.myFunc()
This does not work in Octave. I've tried to change the call to something
like:
res = hComServer.myFunc(1,1).
By supplying two dummy args I can get the "res" result just fine but I
cannot get my hands on the other two return parameters.
I suspect that the Octave implementation does not support multiple return
parameters. Can someone please confirm this or perhaps tell me what I'm
doing wrong?
Regards,
Jesper
--
View this message in context:
http://octave.1599824.n4.nabble.com/Does-actxserver-support-multiple-return-parameters-tp4663594.html
Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Does actxserver support multiple return parameters?,
Jesper Holm <=