VectorScope

This block plots the vector input, and can be used to animate vector signals.

    VectorScope

Library

SignalViewers

Description

This block plots the vector input, and can be used to animate vector signals.

Parameters

VectorScope_0

NameLabelDescriptionData TypeValid Values

externalActivation

External activation

Specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is selected, an additional activation port is added to the block. By default, external activation is not selected.

Number

0
1

externalX

External X value

X data can be provided by the second input. Default is OFF, which uses a vector [1:n], where n is the input signal length.

Number

0
1

winSize

Window size

X,Y dimension of the plot window. Integer values. Default size is given as [-1,-1] and corresponds to [400,400].

Vector of size 2

winPos

Window position

X,Y position of the plot window. Integer values. Default [-1,-1] indicates the scope is positioned automatically.

Vector of size 2

winNam

Window name

Name of the plot window. String. Default is empty.

String

winHidden

Hidden

The window is hidden initially by default.

Number

0
1

showAtEnd

Plot after simulation ends

Display the plots (lines) at the end of simulation instead of progressively along with simulation time.

Number

0
1

option

Window options

Define how to handle scope window for each simulation, default is "Reuse".
- "Reuse" means the scope window is created for once. For the following simulations it is cleared and reused.
- "Overlay" means the scope window is created for once. The following simulations directly plot on the existing scope window without erasing the contents.
- "New" means each simulation creates a new scope window.
- "Recreate" means each simulation deletes current scope window and creates a new one.

String

'Reuse'
'Overlay'
'New'
'Recreate'

VectorScope_1

NameLabelDescriptionData TypeValid Values

plotTitle

Plot title

String

plotColor

Reverse color

Number

0
1

plotGrid

Plot grid

String

'No
Grid'
'Coarse'
'Fine'

xScale

X scale

String

'linear'
'log'
'db20'
'db10'

xInterval

X interval

Vector of size 2

yScale

Y scale

String

'linear'
'log'
'db20'
'db10'

yInterval

Y interval

Vector of size 2

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

input

1+externalX

Port 2

activation

input

externalActivation

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

yes

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no