Main Content

update

Class: Aero.FixedWing.Surface
Namespace: Aero

Update Aero.FixedWing.Surface object

Since R2021a

Syntax

FixedWingSurface = update(FixedWingSurface,Rename,Value)

Description

FixedWingSurface = update(FixedWingSurface,Rename,Value) updates the surface object FixedWingSurface.

Input Arguments

expand all

Aero.FixedWingSurface surface 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.FixedWing.Surface object with the modified coefficients at the specified locations, returned as a scalar.

Version History

Introduced in R2021a