<< ld_RTCrossCorr basic_ldblocks ld_SetBitsInt32 >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_ReadAsciiFile


Calling Sequence

[sim, out] = ld_ReadAsciiFile(sim, events, fname, veclen)


Read data from an ascii-file

fname - file name (string)

veclen - Size of the vector to read during each time-step

out *(veclen) - Output signal as read from the file

The data contained in the file must be ascii data divided into rows and columns

as it may be read on Scilab using the command &quot;fscanfMat".

The number of columns must be veclen.

For each time-step the respectively next row of data is read from the file and

copied to the block&apos;s output vectorial signal "out"

The file must be available only at runtime.

Report an issue
<< ld_RTCrossCorr basic_ldblocks ld_SetBitsInt32 >>