ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error-1048 Matlab script node

I am a newbie in labview.RecentlyI wrote a code for image stitching and it runs without problems on matlab.
However, after inserting the Matlab script code into my Block diagram and defining the outputs, LabVIEW returns the following:
Error 1048 occurred at LabVIEW: 'LabVIEW failed to get variable from the script server
Attached is a VI, 'frist', which gives me the error. I'm running LabVIEW 2018, and Matlab R2016b.
Any help would be greatly appreciated guys. Thanks!

0 Kudos
Message 1 of 4
(3,401 Views)

When I open your VI, I see a couple of lines that begin with a %, but are then a bunch of funny ASCII characters.  Nothing that looks like a command or variables or anything.

 

What are they supposed to be?

 

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

oh      That's just the Chinese comments for the code I deleted it and uploaded it again named'second'

0 Kudos
Message 3 of 4
(3,367 Views)

And the images in 'C:\Users\fengchao\Desktop\siftDemoV4\subtract\rgb' are following

Download All
0 Kudos
Message 4 of 4
(3,332 Views)