getbounds
Get bounds specified in Check block
Description
Examples
Get Bounds from Check Block
Retrieve bounds from a Check Step Response Characteristics block.
load_system('sldo_model1_stepblk'); allBlkReq = getbounds('sldo_model1_stepblk/Step Response');
Type allBlkReq{1}
to view the cell array element.
allBlkReq{1}
ans = StepResponseEnvelope with properties: InitialValue: 0 FinalValue: 1 StepTime: 0 RiseTime: 5 PercentRise: 80 SettlingTime: 7 PercentSettling: 1.0000 PercentOvershoot: 10.0000 PercentUndershoot: 1 Type: '<=' Name: '' Description: '' TimeUnits: 'seconds'
Input Arguments
blockpath
— Path to check block
string scalar | character vector
Check block to get bounds from, specified as a full block path inside single quotes (' '). A block path is of the form model/subsystem/block that uniquely identifies a block in the model. The Simulink® model must be open.
Output Arguments
bnds
— Bounds specified in Check block
cell array
The number of elements returned and objects they contain depends on the
Check block type specified by blockpath
.
Check Step Response Characteristics: Cell array of one element that contains a
sdo.requirements.StepResponseEnvelope
object.Check Custom Bounds: Cell array of two elements — the first and second elements contain the following upper and lower bound values, respectively. Both elements are
sdo.requirements.SignalBound
objects.Check Against Reference: Cell array of one element that contains a
sdo.requirements.SignalTracking
object.
Note
Programmatically changing the bound values in the object returned does not update them in the Block Parameters dialog box.
Version History
Introduced in R2011b
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)