addConditionsFrom
クラス: matlab.unittest.diagnostics.ConstraintDiagnostic
パッケージ: matlab.unittest.diagnostics
条件リストに別の ConstraintDiagnostic
から条件を追加
構文
addConditionsFrom(constDiag, otherConstDiag)
説明
addConditionsFrom(
は、constDiag
, otherConstDiag
)ConstraintDiagnostic
インスタンス constDiag
からの条件を Diagnostic
インスタンス diag
の条件リストに追加します。これは、制約が別の制約を構成していて、構成している制約の診断で生成された条件を使用する必要がある場合に便利です。
入力引数
|
条件を追加する診断。 |
|
条件の追加元となる診断。 |