NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab ActiveX

Hi everyone
I would like to launch a Matlab function from teststand 3.1.
In order to do so, I try to use the ActiveX/COM 'Matlab application (6.5) Type library (1.0)
Then I use the object MLEVal, the method then to use is XLEVal
This method requests different parameters such as :
BstrName, Nargout, pvargout, nargin and varargin.

Passing one parameter doesn't represent any problem and work fine.
However, if I want to pass more than one, then Matlab doesn't understand that 2 or more parameters
are present. I know it because I use the varargin variable in my Matlab function declaration.

I tried to pass arrays, container from Teststand nothing work

Does someone have the solution ?

Thanks a lot
Lars
0 Kudos
Message 1 of 2
(3,249 Views)

Hey Laurant,

We were going through some Discussion Forums and found that no one had answered your question.  Are you still encountering these issues?  It almost sounds like you may be passing the wrong parameter types to the Matlab API.

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(2,911 Views)