It seems unable to invoke the '.EXE' file in the matlab script node.
In my matlab code I use '!' to invoke a .exe file, it can be execute in matlab, but when I copy the same code to labview(matlab script node), it does not work
the error messages are
LabVIEW: Error occurred while executing script. Error message from server: Warning: Name is nonexistent or not a directory: D:\Wastewater_experiment\programCodes\DymolaFiles.
> In c:\matlab6p5\toolbox\matlab\general\path.m at line 116
In c:\matlab6p5\toolbox\matlab\general\addpath.m at line 88
< c:\matlab6p5\bin\win32\dsu.txt created.
... Error message from alist
Error opening file "dsin.txt": No such file or directory
??? Error using ==> load
Unable to read MAT file temp.mat: not a binary MAT file.
Try LOAD -ASCII to read as text.
Error in ==> C:\dn\programCodes\initload.m
On line 43 ==> load temp
Error in ==> C:\dn\programCodes\operatingPoint.m
On line 17 ==> [x_init, x_name] = initload; % loads initial conditions from txt-file 'dsin.txt'.
. in labviewmatlab.vi
I am sure I have add all the path. and If I just run the code
! alist -a dsin.txt dsintest.mat
in matlab script node. There is no errors but it can not be execute.
This alist.exe file is from 'Dymola' to transfer the 'txt' to 'mat'.
How can I do with this error