I have a 3D array in LabVIEW that I need to send to a MATLAB script block. The Help file for MATLAB script blocks in LabVIEW says that the "Real Matrix" input type that I'm using is multi-dimensional, however when I wire the 3D array into this input the wire cannot connect - it says the sink is only 2D.
Does anyone know how I can get the input to accept 3D data?
I encounter the same problems, and I believe at the moment the only solution is the simplest I can think of (and use ... :-)) reshape to 2D before passing to matlab script, reshape in matlab back to 3D, and take care of dimension order ....