is an option to StateSpaceModel etc. that specifies labels of variables.
SystemsModelLabels
is an option to StateSpaceModel etc. that specifies labels of variables.
Examples
open all close allBasic Examples (2)
TransferFunctionModel[{{(Subscript[k, 1]/s + Subscript[p, 1]), (Subscript[k, 2]/s + Subscript[p, 2])}, {(Subscript[k, 3]/s + Subscript[p, 3]), (Subscript[k, 4]/s + Subscript[p, 4])}}, s, SystemsModelLabels -> {{"u1", "u2"}}]Label the inputs, outputs, and states of a state-space model:
StateSpaceModel[{(| | | |
| --- | --- | --- |
| a11 | a12 | a13 |
| a21 | a22 | a23 |
| a31 | a32 | a33 |), (| |
| -- |
| b1 |
| b2 |
| b3 |), (Subscript[c, 1] Subscript[c, 2] Subscript[c, 3])}, SystemsModelLabels -> {{"u"}, {"y"}, {"x1", "x2", "x3"}}]Scope (4)
Label the variables in an AffineStateSpaceModel:
AffineStateSpaceModel[{{Subscript[a, 1][Subscript[x, 1], Subscript[x, 2]], Subscript[a, 2][Subscript[x, 1], Subscript[x, 2]]}, {{Subscript[b, 1][Subscript[x, 1], Subscript[x, 2]]}, {Subscript[b, 2][Subscript[x, 1], Subscript[x, 2]]}}, {Subscript[c, 1][Subscript[x, 1], Subscript[x, 2]]}}, {Subscript[x, 1], Subscript[x, 2]}, SystemsModelLabels -> {{"u"}, {"y"}, {"state1", "state2"}}]In a NonlinearStateSpaceModel:
NonlinearStateSpaceModel[{{Subscript[f, 1][Subscript[x, 1], Subscript[x, 2]] + α u, Subscript[f, 2][Subscript[x, 1], Subscript[x, 2]] + β u}, g[Subscript[x, 1], Subscript[x, 2]]}, {Subscript[x, 1], Subscript[x, 2]}, u, SystemsModelLabels -> {{"u"}, {"y"}, {"state1", "state2"}}]The input label is preserved when converting to another systems model:
AffineStateSpaceModel[%]State labels are not preserved when converting a state-space model to a frequency-domain model:
InputForm@StateSpaceModel[{{{0, 1}, {-3, -4}}, {{0}, {1}}, {{1, 0}}, {{0}}}, SamplingPeriod -> None,
SystemsModelLabels -> {{"u"}, {"y"}, {"x1", "x2"}}]StateSpaceModel[{{{0, 1}, {-3, -4}}, {{0}, {1}}, {{1, 0}}, {{0}}}, SamplingPeriod -> None, SystemsModelLabels -> {{u}, {y}, {x1, x2}}]TransferFunctionModel[StateSpaceModel[{{{0, 1}, {-3, -4}}, {{0}, {1}}, {{1, 0}}, {{0}}}, SamplingPeriod -> None,
SystemsModelLabels -> {{u}, {y}, {x1, x2}}]]StateSpaceModel[%]StateSpaceModel[{{{0, 1}, {-3, -4}}, {{0}, {1}}, {{1, 0}}, {{0}}}, SystemsModelLabels -> {[image], Rasterize["𝒴"], {[image], [image]}}]Related Guides
History
Text
Wolfram Research (2010), SystemsModelLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemsModelLabels.html.
CMS
Wolfram Language. 2010. "SystemsModelLabels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SystemsModelLabels.html.
APA
Wolfram Language. (2010). SystemsModelLabels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemsModelLabels.html
BibTeX
@misc{reference.wolfram_2026_systemsmodellabels, author="Wolfram Research", title="{SystemsModelLabels}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/SystemsModelLabels.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_systemsmodellabels, organization={Wolfram Research}, title={SystemsModelLabels}, year={2010}, url={https://reference.wolfram.com/language/ref/SystemsModelLabels.html}, note=[Accessed: 13-June-2026]}