getlinio
Obtain linear analysis points from Simulink model, Linear Analysis Plots block, or Model Verification block
Description
Examples
Open Simulink model.
mdl = 'scdpwm';
open_system(mdl)

This model contains the following linear analysis points:
Input perturbation at the output of the Step block
Output measurement at the output of the Plant Model block
Obtain the analysis points from the model.
io = getlinio(mdl)
2x1 vector of Linearization IOs: -------------------------- 1. Linearization input perturbation located at the following signal: - Block: scdpwm/Step - Port: 1 2. Linearization output measurement located at the following signal: - Block: scdpwm/Plant Model - Port: 1
You can use these analysis points for subsequent linearizations of the model using the linearize command or an slLinearizer interface.
Open Simulink model.
open_system('scdcstr')

This model contains a Bode Plot block that is configured with the following linear analysis points:
Input perturbation at the output of the Coolant Temp block
Output measurement at the
CAoutput of the CSTR block
Obtain the analysis points from the Bode Plot block.
io = getlinio('scdcstr/Bode Plot')
2x1 vector of Linearization IOs: -------------------------- 1. Linearization input perturbation located at the following signal: - Block: scdcstr/Coolant Temp - Port: 1 2. Linearization output measurement located at the following signal: - Block: scdcstr/CSTR - Port: 2
Input Arguments
Simulink model name, specified as a character vector or string. The model must be in the current working folder or on the MATLAB® path.
If the model is not open or loaded into memory, getlinio loads
the model into memory.
Linear Analysis Plots block or Model Verification block, specified as a character vector or string that contains its full block path. The model that contains the block must be in the current working folder or on the MATLAB path.
For more information on:
Linear analysis plot blocks, see Visualization During Simulation.
Model verification blocks, see Model Verification.
Output Arguments
Analysis point set, returned as a linearization I/O object or
a vector of linearization I/O objects. Use io to
specify linearization inputs, outputs, and loop openings when using
the linearize command. For
more information, see Specify Portion of Model to Linearize.
Each analysis point has the following properties:
| Property | Description |
|---|---|
Active | Flag indicating whether to use the analysis point for linearization, specified as one of the following:
|
Block | Full block path of the block with which the analysis point is associated, specified as a character vector. |
PortNumber | Output port with which the analysis point is associated, specified as an integer. |
Type | Analysis point type, specified as one of the following:
For more information on analysis point types, see Specify Portion of Model to Linearize. |
BusElement | Bus element name with which the analysis point is associated,
specified as a character vector or |
Description | User-specified description of the analysis point, which you can set for convenience, specified as a character vector. |
Version History
Introduced before R2006a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)