LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 1047 with LV 7 and Matlab 7

I am getting error 1047 when I add an input to the Matlab script node. I have:
-installed the new script,
-openned Matlab first then LV
however I still get error 1047. I have attached my small program. I'd appreciate a reply! Thank-you!
Ivanka
0 Kudos
Message 1 of 6
(3,511 Views)
I figured out that if I make the inputs COMPLEX the error disappears- even though I don't use complex numbers. Why would this be?
0 Kudos
Message 2 of 6
(3,511 Views)
IBAHKA wrote:

> I am getting error 1047 when I add an input to the Matlab script node.
> I have:
> -installed the new script,
> -openned Matlab first then LV
> however I still get error 1047. I have attached my small program.
> I'd appreciate a reply! Thank-you!

Check on NI's site for a patch. Matlab changes the Active X registry
with each new version and the Matlab script node explicitedly loads the
Acitve X interface by GUID. Of course NI can not guess at the next GUID
used by Matlab so they can only support released Matlab versions at the
time when they release a LabVIEW version. They usually release a new
matlab script interface DLL to replace the old one with, shortly after
Matlab releases a new version so it should be available by now I would
guess.


Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 3 of 6
(3,511 Views)
Thanks,
I actually got it to work if I change the data type of the input to COMPLEX from REAL. Is this a characteristic of Matlab?
Thanks,
Ivanka
0 Kudos
Message 4 of 6
(3,511 Views)
did you had the chance to resolve the problem completly. i need to give matlab a string and it is also doesn't work.
0 Kudos
Message 5 of 6
(3,511 Views)
In order to keep any further discussion on this topic in a single location, please refer to this thread for more information.
0 Kudos
Message 6 of 6
(3,511 Views)