clear
Description
Examples
Clear Contents of Requirement in Requirements Table Block
Retrieve the requirements in a Requirements Table block and clear the first requirement.
requirements = getRequirementRows(reqTable); clear(requirements(1));
Clear Contents of Assumption in Requirements Table Block
Retrieve the assumptions in a Requirements Table block and clear the first assumption.
assumptions = getAssumptionRows(reqTable); clear(assumptions(1));
Clear Preconditions of Requirement
Retrieve the requirements in a Requirements Table block and clear the preconditions of the first requirement.
requirements = getRequirementRows(reqTable);
clear(requirements(1),"Preconditions");
Input Arguments
row
— Requirement or assumption
RequirementRow
object | AssumptionRow
object
Requirement or assumption in a Requirements Table block, specified as a
RequirementRow
or AssumptionRow
object. To retrieve the row, use getRequirementRows
, getAssumptionRows
, or getChildren
.
column
— Column type
"Summary"
| "Preconditions"
| "Duration"
| "Postconditions"
| "Actions"
| ""
Column type to clear, specified as either "Summary"
,
"Preconditions"
, "Duration"
,
"Postconditions"
, "Actions"
, or an empty string
scalar or character vector. If row
is an action, you can only clear
the summary, preconditions, or postconditions. If you specify
column
as an empty string scalar or character vector, the
function clears the entire row.
Data Types: enumerated
Version History
Introduced in R2022a
See Also
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)