run an .m file on a remote PC with matlab from another PC that runs LabView 2012
9 views (last 30 days)
Show older comments
I know you can use Matlab Script Nodes, but that normally works with LabView and matlab on the same computer. but what if the .m file needs to be run on a remote PC? has anyone done this before? any help would be appreciated.
2 Comments
Jan
on 8 Oct 2013
Please explain any details: Is Matlab installed on the remote machine? Do you have a remote connection like VNC or RemoteDesktop? What have you tried so far and which problem occurred?
Answers (3)
Friedrich
on 8 Oct 2013
Edited: Friedrich
on 8 Oct 2013
Hi,
BUT: you need to create the Automation Server differently. You need to specify the host on which MATLAB is installed, configured for DCOM and should be used. I am not sure if LabView is able to do that.
However what definetly works is using the local MATLAB together with the Script Node to start the DCOM MATLAB from there. So LabView < - > Local MATLAB < - > Remote MATLAB
0 Comments
Ian Phillips
on 18 Feb 2014
Hi Laurens, I have a similar problem. Did you manage to get a workable solution?
0 Comments
Laurens Willems van Beveren
on 18 Feb 2014
1 Comment
Ian Phillips
on 18 Feb 2014
Hi Laurens, Thanks for your reply. If you could post (or email) an example that would be fantastic. Appreciate your help. Ian
See Also
Categories
Find more on LabVIEW in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!