Specifications
Table Of Contents
- Introduction
- LTI Models
- Operations on LTI Models
- Model Analysis Tools
- Arrays of LTI Models
- Customization
- Setting Toolbox Preferences
- Setting Tool Preferences
- Customizing Response Plot Properties
- Design Case Studies
- Reliable Computations
- GUI Reference
- SISO Design Tool Reference
- Menu Bar
- File
- Import
- Export
- Toolbox Preferences
- Print to Figure
- Close
- Edit
- Undo and Redo
- Root Locus and Bode Diagrams
- SISO Tool Preferences
- View
- Root Locus and Bode Diagrams
- System Data
- Closed Loop Poles
- Design History
- Tools
- Loop Responses
- Continuous/Discrete Conversions
- Draw a Simulink Diagram
- Compensator
- Format
- Edit
- Store
- Retrieve
- Clear
- Window
- Help
- Tool Bar
- Current Compensator
- Feedback Structure
- Root Locus Right-Click Menus
- Bode Diagram Right-Click Menus
- Status Panel
- Menu Bar
- LTI Viewer Reference
- Right-Click Menus for Response Plots
- Function Reference
- Functions by Category
- acker
- allmargin
- append
- augstate
- balreal
- bode
- bodemag
- c2d
- canon
- care
- chgunits
- connect
- covar
- ctrb
- ctrbf
- d2c
- d2d
- damp
- dare
- dcgain
- delay2z
- dlqr
- dlyap
- drss
- dsort
- dss
- dssdata
- esort
- estim
- evalfr
- feedback
- filt
- frd
- frdata
- freqresp
- gensig
- get
- gram
- hasdelay
- impulse
- initial
- interp
- inv
- isct, isdt
- isempty
- isproper
- issiso
- kalman
- kalmd
- lft
- lqgreg
- lqr
- lqrd
- lqry
- lsim
- ltimodels
- ltiprops
- ltiview
- lyap
- margin
- minreal
- modred
- ndims
- ngrid
- nichols
- norm
- nyquist
- obsv
- obsvf
- ord2
- pade
- parallel
- place
- pole
- pzmap
- reg
- reshape
- rlocus
- rss
- series
- set
- sgrid
- sigma
- sisotool
- size
- sminreal
- ss
- ss2ss
- ssbal
- ssdata
- stack
- step
- tf
- tfdata
- totaldelay
- zero
- zgrid
- zpk
- zpkdata
- Index

set
16-186
16set
Purpose Set or modify LTI model properties
Syntax set(sys,'Property',Value)
set(sys,'Property1',Value1,'Property2',Value2,...)
set(sys,'Property')
set(sys)
Description set is used to set or modify the properties of an LTI model (see LTI Properties
for background on LTI properties). Like its Handle Graphics counterpart,
set
uses property name/property value pairs to update property values.
set(sys,'Property',Value) assigns the value Value to the property of the
LTI model
sys specified by the string 'Property'. This string can be the full
propertyname(forexample,
'UserData') oranyunambiguouscase-insensitive
abbreviation (for example,
'user'). The specifiedproperty must be compatible
with the model type. For example, if
sys is a transfer function, Variable is a
valid property but
StateName is not (see Model-Specific Properties for details).
set(sys,'Property1',Value1,'Property2',Value2,...) sets multiple
property values with a single statement. Each property name/property value
pair updates one particular property.
set(sys,'Property') displays admissible values for the property specified by
'Property'. See “Property Values” below for an overview of legitimate LTI
property values.
set(sys) displays all assignable properties of sys and their admissible values.
Example Consider the SISO state-space model created by
sys = ss(1,2,3,4);
You can add an input delay of 0.1 second, label the input as torque, reset the
matrix to zero, and store its DC gain in the
'Userdata' property by
set(sys,'inputd',0.1,'inputn','torque','d',0,'user',dcgain(sys))
Notethatset doesnot requireanyoutputargument.Checktheresult withget
by typing
D