# ContStateSpace_SS

This block implements a continuous-time, linear, state-space system specified by the A, B, C, D matrices. The initial state of the system is automatically computed in such a way that the state derivative, der(x)=Ax+Bu=0, is zero at the initial time.

## Library

Activate/AdvancedDynamical

## Description

This block implements a continuous-time, linear, state-space system specified by the A, B, C, D matrices. The initial state of the system is automatically computed in such a way that the state derivative, der(x)=Ax+Bu=0, is zero at the initial time.

## Parameters

Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|

| A matrix | real nxn matrix where n is the number of states, default value: 1. | Matrix | |

| B matrix | real nxm matrix where n is the number of states and m is the number of inputs, default value: 1. B=[ ] if block has no input. | Matrix | |

| C matrix | real rxn matrix, default value: 1. r is the number of outputs and n is the number of states. | Matrix | |

| D matrix | real rxm matrix where r is the number of outputs and m is the number of inputs, default value: 1. | Matrix |

## Ports

Name | Type | Description | IO Type | Number |
---|---|---|---|---|

| explicit | output | 1 | |

| explicit | input | 1 |

## Advanced Properties

Name | Value | Description |
---|---|---|

| yes | |

| no, except when D not zero | |

| no | |

| no | |

| yes, except when n is zero | |

| no |