ml_dss_format_output
Converts a cell array of systems to another format.
Contents
Syntax
[A, B, C, D, E, info] = ml_dss_format_output(systems, 0, info) [sys, info] = ml_dss_format_output(systems, 1, info) [sys, info] = ml_dss_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 descriptor system's matrices for stable, unstable and infinite 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
- E - cell array of matrices with dimensions n x n
- sys - cell array of structures or state-space objects, containing the descriptor system's matrices
Entry | Meaning |
A | matrix with dimensions n x n |
B | matrixwith dimensions n x m |
C | matrix with dimensions p x n |
D | matrix with dimensions p x m |
E | matrix with dimensions n x n |
- info - struct, with single-cell-array fields unpacked
See Also