Main Content

ssRegisterSymbolicDimsExpr

Create SymbDimsId from expression string (aExpr)

Languages

C, C++

Syntax

SymbDimsId ssRegisterSymbolicDimsExpr(SimStruct *S, const char_T* aExpr)

Arguments

S

SimStruct representing an S-Function block.

aExpr

Expression string that forms a valid syntax in C.

Returns

A unique SymbDimsId (integer value) that represents a symbolic dimension specification.

Example

This example creates a SymbDimsId for the expression string [ F / C , D * (B-3)].

 const SymbDimsId outputDimsId = 
        ssRegisterSymbolicDimsExpr(S, "[ F / C , D * (B-3)]");

Introduced in R2016a