EasyLink
EasyLink is a C++ software development kit for developing blocks for SIMULINK (S-functions)
Functions
Output ports managing methods

Functions

static void BaseBlock::setOutputDouble (int port, double value)
 
template<typename _Scalar >
static void BaseBlock::setOutputScalar (int port, _Scalar value)
 
template<typename _Scalar >
static Array< _Scalar > BaseBlock::getOutputArray (int port)
 
static void * BaseBlock::getOutputData (int port)
 
static int BaseBlock::getOutputWidth (int port)
 
static int BaseBlock::getOutputNRows (int port)
 
static int BaseBlock::getOutputNCols (int port)
 

Detailed Description

Function Documentation

◆ getOutputArray()

template<typename _Scalar >
static Array<_Scalar> BaseBlock::getOutputArray ( int  port)
inlinestatic

Returns an array mapping an output port (left-side argument).

Definition at line 493 of file BaseBlock.h.

◆ getOutputData()

static void* BaseBlock::getOutputData ( int  port)
inlinestatic

Returns a pointer to the first element of the output port data.

Definition at line 502 of file BaseBlock.h.

◆ getOutputNCols()

static int BaseBlock::getOutputNCols ( int  port)
inlinestatic

Returns the output port number of cols.

Definition at line 532 of file BaseBlock.h.

◆ getOutputNRows()

static int BaseBlock::getOutputNRows ( int  port)
inlinestatic

Returns the output port number of rows.

Definition at line 524 of file BaseBlock.h.

◆ getOutputWidth()

static int BaseBlock::getOutputWidth ( int  port)
inlinestatic

Returns the output port number of elements.

If the output port is a 1-D array with w elements, this function returns w.

If the output port is an M-by-N array, this function returns m*n.

Definition at line 516 of file BaseBlock.h.

◆ setOutputDouble()

static void BaseBlock::setOutputDouble ( int  port,
double  value 
)
inlinestatic

Writes a double value to an output port.

Definition at line 469 of file BaseBlock.h.

◆ setOutputScalar()

template<typename _Scalar >
static void BaseBlock::setOutputScalar ( int  port,
_Scalar  value 
)
inlinestatic

Writes a scalar value to an output port.

Definition at line 481 of file BaseBlock.h.


Copyright (c) 2014 FEMTO-ST / ENSMM / UFC / UTBM, Besançon, France. Generated by Doxygen.