From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am trying to make some Matlab 6.1 files to run from LabView 5.1. As far as I understood, I need Matlab to be an ActiveX automation server, and to invoke Matlab.Application from the controller program - LabView in this case. The problem is that when I am trying to use the ActiveX container, I can find anything like this there. What should I do?
I don't know almost anything about ActiveX, so if I miss the basics, just tell me to RTFM.
Hi Victor, - first, take a look in your activeX LV examples (those with word and Excel) in order to see how it works (generally speaking think of activeX as an object with properties and methods - invoking methods or setting properties, you can manage the behavior of this object) - second, use aX refenum instead of aX container (this one is for aX controls) - third, be sure that Matlab is properly installed on your computer
Let us know if you need help.
p.s.: have this link for Matlab external interfaces [http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/ch07clie.shtml#client_server_applications]