    

 ## On this page

  

 

 # Structure SyscVariable

 Last update: 17.07.2025 

![](https://img.shields.io/badge/language-C-blue "C")![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `syscVariable.h` (line 37)

Provide a struct for a System Coupling variable.

To create and/or initialize the [SyscVariable](structSyscVariable.md#structSyscVariable) struct, it is highly recommended to use one of the functions with names starting with `syscGetVariable`. These functions will initialize all members to the correct values and will help to avoid back-compatibility issues in the future. For example:

```
SyscVariable var = syscGetVariableTE(
  "Temperature", SyscScalar, 0, SyscNode);

```

## Members

- [dataType](structSyscVariable.md#structSyscVariable_1aedd58bab04a4c0036cd07cef9016a91c)
- [displayName](structSyscVariable.md#structSyscVariable_1a04451c3da4978114e5aba6bcf2713731)
- [isExtensive](structSyscVariable.md#structSyscVariable_1aed5ddca8dd956e1b4935aa69c323e011)
- [location](structSyscVariable.md#structSyscVariable_1a417605c130a691478393fbb05840a5ab)
- [name](structSyscVariable.md#structSyscVariable_1a2eba6c9ae1b937d16229bb14abfd0b8c)
- [quantityType](structSyscVariable.md#structSyscVariable_1ac986a066454132f9f70180349586ab8b)
- [tensorType](structSyscVariable.md#structSyscVariable_1a0293955653368e2f48d36587d4d90ca8)

## Public attributes

<a id="structSyscVariable_1a2eba6c9ae1b937d16229bb14abfd0b8c"></a>

### Variable name

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `syscVariable.h` (line 38)

```
char SyscVariable::name[SYSC_STRING_LENGTH][SYSC_STRING_LENGTH]

```

Unique name for this variable.

**Type**: char

<a id="structSyscVariable_1ac986a066454132f9f70180349586ab8b"></a>

### Variable quantityType

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `syscVariable.h` (line 38)

```
enum SyscQuantityType SyscVariable::quantityType

```

Quantity type (e.g. temperature).

**Type**: enum [SyscQuantityType](syscCommonTypes_8h.md#group__SyscParticipantLibraryCAPI_1gaa28a3de6c7c91003a8a15721a5301f12)

<a id="structSyscVariable_1a417605c130a691478393fbb05840a5ab"></a>

### Variable location

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `syscVariable.h` (line 38)

```
enum SyscLocation SyscVariable::location

```

Location (e.g element or node).

**Type**: enum [SyscLocation](syscCommonTypes_8h.md#group__SyscParticipantLibraryCAPI_1gade42aba1a68acbbf5956edcd388cdcda)

<a id="structSyscVariable_1a04451c3da4978114e5aba6bcf2713731"></a>

### Variable displayName

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `syscVariable.h` (line 41)

```
char SyscVariable::displayName[SYSC_STRING_LENGTH][SYSC_STRING_LENGTH]

```

User-friendly name.

**Type**: char

<a id="structSyscVariable_1a0293955653368e2f48d36587d4d90ca8"></a>

### Variable tensorType

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `syscVariable.h` (line 41)

```
enum SyscTensorType SyscVariable::tensorType

```

Tensor type (e.g. scalar, vector).

**Type**: enum [SyscTensorType](syscCommonTypes_8h.md#group__SyscParticipantLibraryCAPI_1ga007e2fd66e7263a63c114a6d12b3808d)

<a id="structSyscVariable_1aed5ddca8dd956e1b4935aa69c323e011"></a>

### Variable isExtensive

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `syscVariable.h` (line 43)

```
int SyscVariable::isExtensive

```

Flag indicating whether it's an extensive property.

**Type**: int

<a id="structSyscVariable_1aedd58bab04a4c0036cd07cef9016a91c"></a>

### Variable dataType

![](https://img.shields.io/badge/-public-brightgreen "public")

**Definition**: `syscVariable.h` (line 43)

```
enum SyscDataType SyscVariable::dataType

```

Variable data type.

**Type**: enum SyscDataType