I am Using Matlab script in LabVIEW and I have 1 cell array data.
I want to use that cell array data for further process in LabVIEW for that I want to take that data as output in Matlab script and its asking data type of cell array.
In the Matlab script node in labview, click in the right side and add an output, give the output a variable name (same name as in the matlab code), then put the cursor over the output square, right click and select "Choose data type" for your output type, in your case select "1D Array of real" if your data is real or choose data type accordingly. Matlab works with horizontal vectors and labview with column vectors, therefore its necessary to transpose the array inside the Matlab code (use the ' command for example y=x';) before passing it to the output.
Seems I cannot reply to the other replies... @Diego, I don't think that is what he is asking. As what you said, the script node can output a 1D-array of real data, but he was asking about cell array... Cell structure in MATLAB, can output as real in labview? I doubt it... but also never try that out.
Just tried, it does not work that way. A cell array is a data type with extended data recorded in each cell. C{1,1} itself could be a multi-dimensional matrix. LabView does not have similar data type... oh maybe cluster is similar. Anyway I don't think you can directly output a cell array into LabView code. Maybe you have to use cell2mat function to convert your cell data to numerical matrix... Hope that helps.