Skip to contents

renamespace(sys, x) prefixes the variables of x with the name of sys, as they appear when sys is a subsystem: x(t) in a subsystem named r1 becomes r1₊x(t). sys may also be a name.

Usage

renamespace(sys, x)

Arguments

sys

A System or a name.

x

A variable, expression, equation, or list of them.

Value

The namespaced object.