11-05-2008 09:03 AM
Hello,
I'm running labview with a matlab script that runs OK .
after compiling I get
"parameter must be a string" error
my runtime engine is 7.1.1
any ideas
Yuval
11-05-2008 09:08 AM
11-05-2008 09:19 AM
The script runs OK at labview.
the error comes up when I ran the compiled labview application right after the matlab block is done at the "error out" output.
The code is not on this computer.
The matlab code though is very simple:
"
cd(vriablename);
someMatlabFunction;
"
the CD function is unable to operate since my input is not a string (so does the error say)
thanks,
Yuval
11-05-2008 09:24 AM
I have just found that this happens only on runtime 7.1.1
with 7.1 it works OK
Yuval
11-05-2008 09:48 AM
11-05-2008 09:50 AM
11-07-2008 10:35 AM
Hi Yuval,
You said that the built application runs with the 7.1 runtime engine but not with the 7.1.1 runtime engine. What version of LabVIEW was the applications built in? You have to use the runtime engine from the version of LabVIEW it was built in.
Also, does the machine that you are trying to run the application on have the same version of MATLAB® as the development machine?
MATLAB® is a registered trademark of The MathWorks, Inc. Other product and company names listed are trademarks and trade names of their respective companies.