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.
Citar como
christhechris (2026). assertWarn.m (https://la.mathworks.com/matlabcentral/fileexchange/47680-assertwarn-m), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2014a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Test Execution en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
