This is all I am trying to do. But I can't seem to use arrayplot to plot a vector of data.
ArrayPlot in Simulink. I am not able to plot a simple column vector using array plot?
8 views (last 30 days)
I am simply trying to plot a column vector having some N number of elements. I first make a vector in a MATLAB script say mydata = rand(N,1). I then run the script and load the variable mydata into the workspace. In simulink, I then use a constant block and use 'mydata' in the constant value: field of the constant block in Simulink. Then I connect the constant block to an array plot availbale in DSP toolbox. Unfortunately I cannot plot the column vector. In the arrayplot window the following message is displayed: "Input processing of columns as channels (frame based) cannot be used. This scope uses continuous sample time or the input sample time is either continuous, infinite, or undefined." Can somebody help me as to how can I plot a column vector using arrayplot in Simulink? Thanks.