how to display all values

2 次查看(过去 30 天)
I workspace i have variables as
W=1 2 3 4
S=3 6 8 0
i used from workspace block and used parameter as [W S] and a display block,but only first value is displayed,how to display all four values in display block

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-1-16
编辑:Azzi Abdelmalek 2013-1-16
Use two constant blocks and set values to w and s
  6 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2013-1-17
In to workspace block use
[1 b w]
%or for r
[1 r]
Azzi Abdelmalek
Azzi Abdelmalek 2013-1-19
The first value of the array corresponds to a time stamp

请先登录,再进行评论。

更多回答(1 个)

Ryan Livingston
Ryan Livingston 2013-1-16
You can resize the block by dragging one of the corners as you would resize a window. That will allow it to show more values.
under "Resizing Options" has more info.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by