Generate warning when condition is violated, simialr to ASSERT.
Function is meant to work similarly to ASSERT, but throw a warning instead of an error.
(not to be confused with assertWarning function in the unit test framework. )
Modelled on built in functions Warning and Assert.
Cita come
christhechris (2026). assertWarn.m (https://it.mathworks.com/matlabcentral/fileexchange/47680-assertwarn-m), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2014a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Test Execution in Help Center e MATLAB Answers
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
