This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

trimAirframe

Trim airframe around operating point specification object

Syntax

trimAirframe(modelToAnalyze)
trimAirframe(modelToAnalyze,opSpec)

Description

example

trimAirframe(modelToAnalyze) trims the airframe around an operating point specification object. A Trim Airframe dialog window prompts you to select an operating point specification object from the base workspace. If an operating point specification object does not exist in the base workspace, click the Launch Trim Tool button in the Trim Airframe dialog window. This button starts the Simulink® Control Design™ Linear Analysis Tool in which you can create the operating point specification object. From this object, the trimAirframe function trims the airframe.

trimAirframe(modelToAnalyze,opSpec) trims the airframe model around the specified operating point specification object.

Examples

collapse all

Trim the model SkyHoggAnalysisModel around an operating point specification object, opSpecDefault. This example starts the flight control analysis template using asbFlightControlAnalysis and trims the model around the opSpecDefault operating point. It then linearizes the airframe model around the opTrim operating point specification object and calculates the short- and long-period (phugoid) mode characteristics of linSys.

asbFlightControlAnalysis('3DOF', 'SkyHoggAnalysisModel');
opSpecDefault = SkyHogg3DOFOpSpec('SkyHoggAnalysisModel');
opTrim = trimAirframe('SkyHoggAnalysisModel', opSpecDefault);
linSys = linearizeAirframe('SkyHoggAnalysisModel', opTrim)
flyingQual = computeLongitudinalFlyingQualities('SkyHoggAnalysisModel', linSys)

Input Arguments

collapse all

Model on which to perform flight control analysis using the linear state-space model linSys. This model must be previously created with the asbFlightControlAnalysis function.

Data Types: char | string

Linear state-space model used to perform flight control analysis on modelToAnalyze.

Data Types: char | string

Limitations

This function requires the Simulink Control Design license.

Introduced in R2018b