Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

can not invoke matlab command window when vi file loaded

My vi. file which includes matlab script node can not invoke the matlab command window any more. When I load such vi. file, the matlab command window are autoloaded, but not responding during loading. After the vi. file fully loaded, the matlab command window disappear. And the vi. file can not run matlab script and the labview hang. When I create  a new blank vi.file where I place a single matlab script node, the labview popups error msg 1047 and 1053.
 
My matlab is 2006b. and labview is 8.0 windows XP sp2. 
 
My vi.file previously work well in cooperative with matlab 2006a before. But after system format, i reinstall the labview, but i just copy and past the matlab 2006a.  I dont know what the problem is which make these two stuff can not work well any more.
 
The example program recommeded by labview. say,
 
LabVIEW\examples\scriptnode\Differential Equation.llb\MATLAB Script - Lorenz Diff Eq.vi
LabVIEW\examples\scriptnode\Fractal.llb\MATLAB Script - Fractal.vi
 
can work well in my system.
 
Could anybody suggest me how to solve the problem?
0 Kudos
Message 1 of 3
(4,066 Views)
Mowr,

Follow the steps in this KB to get the script node functioning again.  Let me know if this helps.

Why Do I Get Error 1047?

Brian Taraba
Applications Engineer
National Instruments



0 Kudos
Message 2 of 3
(4,043 Views)

Hi:

I found logitech's setpoint.exe task (mouse driver) may conflict with matlab script server.

Try to manually kill the setpoint.exe task first and load the vi with matlab script.

Matlab command window should show up and you can execute the vi without any errors.

0 Kudos
Message 3 of 3
(3,925 Views)