SystemsModelDimensions

SystemsModelDimensions[sys]

gives the number of inputs and outputs of the systems model sys.

Examples

open allclose all

Basic Examples  (4)

A TransferFunctionModel with three inputs and two outputs:

A StateSpaceModel with three inputs and two outputs:

An AffineStateSpaceModel with two inputs and one output:

A NonlinearStateSpaceModel with two inputs and one output:

Applications  (2)

Keep track of the number of inputs and outputs during model manipulations:

Count the number of inputs and outputs while connecting models:

Connect the two outputs of ssm1 to the two inputs of ssm2:

The resulting system has two inputs and one output:

Merge the first input of ssm1 and the second input of ssm2:

The resulting system has three inputs and three outputs:

Wolfram Research (2010), SystemsModelDimensions, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemsModelDimensions.html (updated 2014).

Text

Wolfram Research (2010), SystemsModelDimensions, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemsModelDimensions.html (updated 2014).

CMS

Wolfram Language. 2010. "SystemsModelDimensions." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/SystemsModelDimensions.html.

APA

Wolfram Language. (2010). SystemsModelDimensions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemsModelDimensions.html

BibTeX

@misc{reference.wolfram_2024_systemsmodeldimensions, author="Wolfram Research", title="{SystemsModelDimensions}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/SystemsModelDimensions.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_systemsmodeldimensions, organization={Wolfram Research}, title={SystemsModelDimensions}, year={2014}, url={https://reference.wolfram.com/language/ref/SystemsModelDimensions.html}, note=[Accessed: 18-November-2024 ]}