Hello,
I am trying to use Matlab Script node in LabView 9.0 to create a two-dimensional array and access its columns using the colon operator, like so:
bar = foo(:,2);
However, instead of the entire column, the bar is assigned only first element in that column.
I have tried this code in Matlab 2009, and, of course, it works as expected, returning a column vector.
Below is a screenshot of the simplified version of my LabView code, along with a reference screenshot of Matlab 2009.
I have assigned the data type of foo to a 2-D Array of Real, and bar/baz to 1-D Array of Real.