Main Content

update

Class: Aero.FixedWing.Thrust
Namespace: Aero

Update Aero.FixedWing.Thrust object

Since R2021a

Syntax

FixedWingThrust = update(FixedWingThrust,Rename,Value)

Description

FixedWingThrust = update(FixedWingThrust,Rename,Value) updates the Aero.FixedWingThrust object.

Input Arguments

expand all

Aero.FixedWingThrust thrust object, specified as a scalar.

Option to update the Name property in the Simulink.lookuptable.StructTypeInfo object, specified as:

  • 'on' — Modify the Name property in the Simulink.lookuptable.StructTypeInfo object.

    The method sets the Name property in the Simulink.lookuptable.StructTypeInfo objects to name_stateOutput_stateVariable, where:

    • name is the combined string from the component name joined with all component names above it.

    • stateOutput and stateVariable are the stateOutput and stateVariable values from each specific Simulink.LookupTable location, respectively.

  • 'off' — Do not modify the Name field in the Simulink.lookuptable.StructTypeInfo object.

Example: 'Rename','on'

Data Types: string | char

Output Arguments

expand all

Modified Aero.FixedWingThrust object with the modified coefficients at the specified locations.

Version History

Introduced in R2021a