ml_ss_format_output
Converts a cell array of systems to another format.
Contents
Syntax
[A, B, C, D, info] = ml_ss_format_output(systems, 0, info) [sys, info] = ml_ss_format_output(systems, 1, info) [sys, info] = ml_ss_format_output(systems, 2, info)
Description
This function takes an array of system-structs and returns cell arrays of the requested format. Unstable and infinite parts of the models are merged when available. If only a single system is given no cell array is created and single element cell arrays in the info struct are unpacked.
Input
- systems - cell-array of structs containing the standard system's matrices for stable and unstable parts
- ioformat - integer, describing the output format. 0 - for input type matrices 1 - for input type struct 2 - for input type state-space object
- info - struct, containing additional information.
Output
- A - cell array of matrices with dimensions n x n
- B - cell array of matrices with dimensions n x m
- C - cell array of matrices with dimensions p x n
- D - cell array of matrices with dimensions p x m
- sys - cell array of structures or state-space objects, containing the standard system's matrices
Entry | Meaning |
A | matrix with dimensions n x n |
B | matrix with dimensions n x m |
C | matrix with dimensions p x n |
D | matrix with dimensions p x m |
- info - info struct with obsolete cell arrays unpacked
See Also