Main Content

get

Get property values

Syntax

get(req)
get(req,PropertyName)

Description

get(req) returns the value of all properties of the requirement object (sdo.requirements.StepResponseEnvelope, ...).

get(req,PropertyName) returns value of a specific property. Use a cell array of property names to return a cell array with multiple property values.

Input Arguments

req

Requirement object (sdo.requirements.StepResponseEnvelope, ...).

PropertyName

Name of the requirement object (sdo.requirements.StepResponseEnvelope, ...) property.

Alternatives

You can access data in properties using dot notation:

object.PropertyName

Version History

Introduced in R2011b