FromHDF

This block reads in data from an HDF5 file, then outputs the data as a signal.

    FromHDF

Library

SignalImporters

Description

The FromHDF block reads in data from an HDF5 file, then outputs the data as a signal.

Parameters

FromHDF_0

NameLabelDescriptionData TypeValid Values

fname

File name

Full filename, with path, of the HDF5 input file.

String

varname

Variable name

Name of the variable to store the signal values.

String

timename

Time variable name

Name of the variable to store the signal time values.

String

typ

Output datatype

String

'double'
'int32'
'int16'
'int8'
'uint32'
'uint16'
'uint8'
'boolean'
'inherit'

outsize

Output port size

Matrix

outevent

Generate events at time instants

Number

0
1

externalActivation

External activation

This parameter defines if the block receives an external activation or inherits. When External Activation is used, a additional activation port is added to the block. default is OFF.

Number

0
1

FromHDF_1

NameLabelDescriptionData TypeValid Values

Buffer

Buffer size

Scalar

Method

Interpolation method

String

'Zero-order'
'Linear'
'Not_a_knot'
'Natural'
'Clamped_To_Zero'
'Akima'
'Fritsch_Butland'
'Steffen'

Leftside

Behavior before the data time span

String

'Zero'
'Hold'
'Extrapolation'
'Repeat'

Rightside

Behavior after the data time

String

'Zero'
'Hold'
'Extrapolation'
'Repeat'

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

output

1

Port 2

activation

input

externalActivation

Port 3

activation

output

outevent

Advanced Properties

NameValueDescription

always active

no

Time Dependency = standard mode activated

direct-feedthrough

no

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no

See Also