how to display all values

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

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 16 de En. de 2013
Editada: Azzi Abdelmalek el 16 de En. de 2013

0 votos

Use two constant blocks and set values to w and s

6 comentarios

nkumar
nkumar el 16 de En. de 2013
constant blocks after from workspace block?or where plz assist
Azzi Abdelmalek
Azzi Abdelmalek el 16 de En. de 2013
Constant block in simulink/sources
nkumar
nkumar el 17 de En. de 2013
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
Azzi Abdelmalek
Azzi Abdelmalek el 17 de En. de 2013
In to workspace block use
[1 b w]
%or for r
[1 r]
Azzi Abdelmalek
Azzi Abdelmalek el 17 de En. de 2013
In to workspace block use
[1 b w]
%or for r
[1 r]
Azzi Abdelmalek
Azzi Abdelmalek el 19 de En. de 2013
The first value of the array corresponds to a time stamp

Iniciar sesión para comentar.

Más respuestas (1)

Ryan Livingston
Ryan Livingston el 16 de En. de 2013

1 voto

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.

Categorías

Productos

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by