run an .m file on a remote PC with matlab from another PC that runs LabView 2012
显示 更早的评论
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 个评论
Jan
2013-10-8
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?
Laurens Willems van Beveren
2013-10-9
回答(3 个)
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
Ian Phillips
2014-2-18
0 个投票
Hi Laurens, I have a similar problem. Did you manage to get a workable solution?
Laurens Willems van Beveren
2014-2-18
0 个投票
1 个评论
Ian Phillips
2014-2-18
Hi Laurens, Thanks for your reply. If you could post (or email) an example that would be fantastic. Appreciate your help. Ian
类别
在 帮助中心 和 File Exchange 中查找有关 LabVIEW 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!