Simulink Control Design™ - MathWorks

(Tuis.) #1
spec: none
(4.) scdplane/Aircraft Dynamics Model
spec: none

There are now two output specifications that correspond to the same block, one for each
output port. Obtain the index for the output specification that corresponds with the
output port 1 of the Aircraft Dynamics Model block.

index2 = getOutputIndex(opspec,'scdplane/Aircraft Dynamics Model',1)

index2 =

4 1

Get Output Indices for Output Specification with Multiple Elements

Open Simulink model.

mdl = 'scdtmp';
open_system(mdl)

15 Alphabetical List

Free download pdf