ArrayPlot in Simulink. I am not able to plot a simple column vector using array plot?
8 次查看(过去 30 天)
显示 更早的评论
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.
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!