faults = Simulink.fault.findFaults(model)
finds the faults in the model, model. The function returns the faults
alphabetically by name. If two or more faults on different model elements have the same
name, the function returns those faults alphabetically by model element path.
faults = Simulink.fault.findFaults(model,property=value)
finds the faults filtered by the Fault object property,
property, that match the value, value. The
function returns complete and partial matches.
faults = Simulink.fault.findFaults(model,property1=value1,...,propertyN=valueN)
finds the faults filtered by one or more Fault object property
values.
Path or handle to the model, specified as a string scalar, character vector, or model
handle.
Data Types: string | char | double
Name of the property, specified as a property of the Fault object.
For more information on Fault object properties, see
Fault.
Value of the property, specified in the format determined by the property. You can
define this argument by using a regular expression. For more information on using
regular expressions in MATLAB®, see Regular Expressions.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.