LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing MATLAB 'cell' data types between MATLAB script nodes in LabView?

Solved!
Go to solution

Hi all, 

 

I need to pass a cell data type variable from one MATLAB script node in LabView to another, but cell is not listed as an "output" data type in the script node.

 

Is there any way to do this without converting to a 2D array?  Each column in my cell has a different number of rows...

 

Thanks!

Mike

0 Kudos
Message 1 of 2
(2,849 Views)
Solution
Accepted by topic author mk@opc

Nevermind...

 

Instead of using a typical LabView wire I just said 

 

assignin('base', 'varname', varvalue);

 

in the first script and called varname from the second node to get my cell.

 

Easy... duh 😛  Leaving here if anyone in the future has the same question.

0 Kudos
Message 2 of 2
(2,829 Views)