So I have my MatLab script server that passes something called tMax. I have a function that gets called in my code that uses this. When I run the VI, I get.
LabVIEW: Error occurred while executing script. Error message from server: ??? Undefined function or variable 'tMax'.
Error in evalFunctionLabVIEW>ExpRamp (line 19)
y = (b - a*exp(tMax / tau) + (a-b)*exp(t/tau))/ ( 1 - exp(tMax / tau) );
Error in evalFunctionLabVIEW (line 3)
y = evalin('base',expression);
I can then go to the MatLab command window and type who, sure enough my tMax is defined. I am hoping someone knows why this would be occuring