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일

0 개 추천

Use two constant blocks and set values to w and s

댓글 수: 6

nkumar
nkumar 2013년 1월 16일
constant blocks after from workspace block?or where plz assist
Azzi Abdelmalek
Azzi Abdelmalek 2013년 1월 16일
Constant block in simulink/sources
nkumar
nkumar 2013년 1월 17일
ok azzi i got using constant block,now if i use from workspace block
eith variable [b w] b=1 2 3
w= 4 7 1
in display block 2 3 4 7 1 is displayed,why first value is not displayed
if r=4 in workspace,if i use from workspace block with variable r ,i get error
In to workspace block use
[1 b w]
%or for r
[1 r]
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일

1 개 추천

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.

카테고리

도움말 센터 및 File Exchange에서 General Applications에 대해 자세히 알아보기

제품

태그

Community Treasure Hunt

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

Start Hunting!

Translated by