Matlab DCOM object doesn't have expected methods such as feval, execute, or visible

I have two computers with Matlab installed. My goal is control a device connected to computer A and controlled via a Matlab object from Matlab code running on computer B.
Based on documentation online this is what I've tried so far: 1. Started Matlab (2015b 32 bit) on computer A 2. Ran the command regmatlabserver to start the server on computer A 3. Started Matlab (2015b 32 bit) on computer B 3. Connected from computer A with
f1 = actxserver('Matlab.Application', 'xx.xx.xx.xx')
f1 =
COM.Matlab_Application
Now I'm stuck. The object f1 doesn't seem to actually give me access to Matlab on the other computer. For instance the following fails:
>> f1.Execute('version')
Undefined function or variable 'Execute'.
A closer look at the object gives me:
>> methods(f1)
Methods for class COM.Matlab_Application:
addproperty deleteproperty interfaces move save
constructorargs events invoke propedit send
delete get load release set
People before me seemed to have experienced the same issue but no solution was to be found online: http://www.mathworks.com/matlabcentral/newsreader/view_thread/73569
Any help on how to make a remote call like f1.Execute('version') work would be highly appreciated! Thank you

Answers (0)

Products

Asked:

Flo
on 25 Apr 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!