LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pass complex array into matlab scrip

Can someone tell me how to pass an array of complex double numbers into a matlab script?
If you have an example script that executes certain built in Matlab function that takes in an array of cpx numbers, please post it.
Thanks a bunch!
Ted
0 Kudos
Message 1 of 2
(2,710 Views)
The matlab script node does not take complex numbers. You might try passing two real arrays into the node--one for the real component and one for the complex component. Once inside you can try to merge the arrays or just use the information separatly. I do not have matlab so I cannot offer example code.
0 Kudos
Message 2 of 2
(2,710 Views)