LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm getting a 1048 error after upgrading MATLAB.

Hi-

 

I'm hoping someone might be able to help me.  I have a VI that I've been using w/ no problems that has several MATLAB script nodes.  Recently, MATLAB was upgraded on this machine from 2006b to 2008a.  When I try to run the VI now, I get a 1048 error when the MATLAB script tries to execute.  (I'm not clearing any variables or giving them the same names as existing MATLAB functions.)  I'm currently running LabVIEW 8.6.  Any ideas?  I've tried just shutting down LabVIEW & restarting w/ no luck.  Thanks in advance!

 

Erin

0 Kudos
Message 1 of 5
(2,961 Views)
0 Kudos
Message 2 of 5
(2,948 Views)
Thanks for the link!  Unfortunately, the 3 possible issues listed (naming a variable the same name as a pre-existing MATLAB function, using "clear all", & MATLAB code that requires user input) are not what I have going on here.  If you have any other ideas though, I'd love to hear them! 
0 Kudos
Message 3 of 5
(2,939 Views)
I had one other thought.  This computer was also recently updated from Windows XP to Vista.  Is it possible that I'm dealing with an ActiveX issue?
0 Kudos
Message 4 of 5
(2,935 Views)

Hi Erin,

 

Usually ActiveX registration issues will cause an error 1047.  But you could try reregistering the ActiveX components.  

 

Take a look at the following KB:  Why Do I Get Error 1047 When Trying to Use The MATLAB script node in LabVIEW?

 

Let me know if this helps at all.

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 5 of 5
(2,928 Views)