run an .m file on a remote PC with matlab from another PC that runs LabView 2012
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Laurens Willems van Beveren
el 8 de Oct. de 2013
Comentada: Ian Phillips
el 18 de Feb. de 2014
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 comentarios
Jan
el 8 de Oct. de 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?
Respuestas (3)
Friedrich
el 8 de Oct. de 2013
Editada: Friedrich
el 8 de Oct. de 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 comentarios
Ian Phillips
el 18 de Feb. de 2014
Hi Laurens, I have a similar problem. Did you manage to get a workable solution?
0 comentarios
Laurens Willems van Beveren
el 18 de Feb. de 2014
1 comentario
Ian Phillips
el 18 de Feb. de 2014
Hi Laurens, Thanks for your reply. If you could post (or email) an example that would be fantastic. Appreciate your help. Ian
Ver también
Categorías
Más información sobre LabVIEW en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!