I am controlling my physical robot through labview and my rio. I also have a matlab code (m.file) that the uses the robotics toolbox in Matlab. I would like to add this m.file to my labview program. Can I create a matlab script in the labview program and put the matlab code inside, and deploy the code to myrio? Will it work in this case?
As far as I know, script nodes invoke the MATLAB software script server to execute scripts written in the MATLAB language syntax. But I am not sure about adding my rio to the loop.
Solved! Go to Solution.
Thanks for responding Mike.
The code I am using is typically provided here: http://www.mathworks.com/help/robotics/examples/path-following-for-a-differential-drive-robot.html
It is not complicated, but it uses already built in functions from Matlab Robotics toolbox.
Is there any way around?
Thanks for the reply.
I have also later get to know that it can be done by establishing a wifi communication between Matlab and myrio.
I'm trying to run matlab script nodes on Labview myRIO too. Can you explain further how this can be achieved by establishing a wifi communication between Matlab and myRIO? Thanks!