Ok, I'm using a Matlab node in Labview, and I'm trying to run a function that I programmed. For example:
[az,el] = thphi2azel(th,phi);
I have th and phi going into the Mathscript nodes as inputs. I then try to take the outputs az and el and take them out of the mathscript node. I get an Error 1048 when I do this and it says that el cannot be found. I'm not using any pre-defined Matlab names. I guess I'm wondering, is this even possible? Or is there something else I'm doing wrong? I have the m file for thphi2azel in the same directory as the vi.
BTW, I'm running Labview 8.2.1 and Matlab 7.5.0 (R2007b).
Thanks,
Alan Stemmons
alanstem469@yahoo.com