11-06-2006 02:55 AM
12-14-2006 03:13 PM
12-15-2006
01:44 PM
- last edited on
06-30-2025
10:03 AM
by
Content Cleaner
Hi Daniel,
First, see if the Matlab Script Node is trying to open any files. If so, then make sure that the current Matlab directory is set to the directory where that file is located. The Matlab script node in LabVIEW does call the Matlab script server and executes the function in the Matlab script node through Matlab. Therefore, even though LabVIEW may be in the correct directory where the file is located, make sure Matlab is as well.
The error may also occur if there is a disruption in the script server between MATLAB and LabVIEW and the connection was never re-established (possibly by closing MATLAB prematurely). Close both LabVIEW and MATLAB then relaunch them both and run the VI.
Please also check this KnowledgeBase for additional information.
If that does not answer your question, please feel free to post back.
11-15-2007 03:02 AM
11-15-2007
08:20 AM
- last edited on
06-30-2025
10:05 AM
by
Content Cleaner
You can also extend LabVIEW MathScript by adding your own user-defined functions or by installing a LabVIEW add-on toolkit. The NI LabVIEW Control Design and Simulation Module and the NI LabVIEW Digital Filter Design Toolkit add text-based functions to MathScript.
12-17-2015 03:50 AM
I am also getting same error. (1047)
What I found while trying to solve this problem is memory issue. If possible try to minimize your input and output variables. Otherwise best solution for this, create 1D array of input and output variable. This should solve your problem.