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

Functions

static double BaseBlock::getParameterDouble (int port)
 
template<typename _Scalar >
static _Scalar BaseBlock::getParameterScalar (int port)
 
static std::string BaseBlock::getParameterString (int port)
 
template<typename _Scalar >
static Array< _Scalar > BaseBlock::getParameterArray (int port)
 
static int BaseBlock::getParameterWidth (int port)
 
static int BaseBlock::getParameterNRows (int port)
 
static int BaseBlock::getParameterNCols (int port)
 
static void * BaseBlock::getParameterData (int port)
 

Detailed Description

Function Documentation

◆ getParameterArray()

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

Returns an array mapping a parameter port.

Definition at line 574 of file BaseBlock.h.

◆ getParameterData()

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

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

Definition at line 612 of file BaseBlock.h.

◆ getParameterDouble()

static double BaseBlock::getParameterDouble ( int  port)
inlinestatic

Returns the double value of a parameter port.

Definition at line 540 of file BaseBlock.h.

◆ getParameterNCols()

static int BaseBlock::getParameterNCols ( int  port)
inlinestatic

Returns the parameter port number of cols.

Definition at line 604 of file BaseBlock.h.

◆ getParameterNRows()

static int BaseBlock::getParameterNRows ( int  port)
inlinestatic

Returns the parameter port number of rows.

Definition at line 596 of file BaseBlock.h.

◆ getParameterScalar()

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

Returns the scalar value of a parameter port.

Definition at line 551 of file BaseBlock.h.

◆ getParameterString()

static std::string BaseBlock::getParameterString ( int  port)
inlinestatic

Returns the string value of a parameter port.

Definition at line 561 of file BaseBlock.h.

◆ getParameterWidth()

static int BaseBlock::getParameterWidth ( int  port)
inlinestatic

Returns the parameter port number of elements.

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

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

Definition at line 588 of file BaseBlock.h.


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