Main Content

applyOnRootInport

(To be removed) Apply properties to Inport block

applyOnRootInport will be removed in a future release.

Description

applyOnRootInport(dataspec, model, inportnumber) applies the properties specified in fixed.DataSpecification object, dataspec to the specified Inport block in model.

Input Arguments

collapse all

Properties to apply to Inport block, specified as a fixed.DataSpecification object.

Name of the model containing the Inport block to apply settings to, specified as a character vector.

Data Types: char

Port number of root-level Inport block on which you want to apply properties from the fixed.DataSpecification object. The following properties of the DataSpecification object are applied to the block:

  • Data type

  • Complexity

  • Dimensions

Data Types: double

Compatibility Considerations

expand all

Warns starting in R2020a

Introduced in R2019b