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 (2024). assertWarn.m (https://www.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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.