Simulink Control Design™ - MathWorks
In addition to root-level outputs of a model, the opspec.Outputs array contains specifications for trim constraints added to sig ...
spec: none (4.) scdplane/Aircraft Dynamics Model spec: none There are now two output specifications that correspond to the same ...
Create an operating point specification object for the model. opspec = operspec(mdl); opspec contains an output specification fo ...
spec: none spec: none spec: none spec: none Obtain the indices of all the elements of Out1. index1 = getOutputIndex(opspec,'scdt ...
1 3 Input Arguments op — Operating point specification operspec object Operating point specification for a Simulink model, speci ...
element — Output element index [1,M] (default) | positive integer | vector of positive integers Output element index, specified ...
getSimulationTime Final time of simulation for frequency response estimation Syntax tfinal = getSimulationTime(input) Descriptio ...
Output Arguments tfinal Final time of simulation performed during frequency response estimation using the input signal input. Fo ...
Topics “Sinestream Input Signals” on page 5-37 “Chirp Input Signals” on page 5-42 “Ways to Speed up Frequency Response Estimatio ...
getStateIndex Get index of a state element of an operating point specification or operating point The States property of an oper ...
mdl = 'scdindex1'; mdlpath = fullfile(matlabroot,'examples','slcontrol',mdl); open_system(mdlpath) Create an operating point spe ...
index1 = getStateIndex(opspec,'scdindex1/system1') index1 = 1 1 1 2 1 3 Each row of index1 contains the index of one state in th ...
index1 = 1 2 You can also obtain the indices of a subset of the block states by specifying the element index as a vector. For ex ...
opspec.States (1.) position spec: dx = 0, initial guess: 0 (2.) velocity spec: dx = 0, initial guess: 0 (3.) acceleration spec: ...
Create an operating point specification for the model. opspec = operspec(mdl); The States property of the operating point specif ...
The first column of idx contains the index of the corresponding state specification in opspec.States. The second column is 1 for ...
Output Arguments index — State index 2-element row vector | 2-column array State index, returned as a 2-element row vector when ...
getstatestruct State structure from operating point Syntax x_struct = getstatestruct(op_point) Description x_struct = getstatest ...
This dot-notation returns ans = 0 ans = 14.0071 ans = 7.0036 ans = 0 ans = 0.0500 See Also getinputstruct | getxu | operpoint In ...
getxu States and inputs from operating points Syntax x = getxu(op_point) [x,u] = getxu(op_point) [x,u,xstruct] = getxu(op_point) ...
«
102
103
104
105
106
107
108
109
110
111
»
Free download pdf